Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move streams implementation to storage layer. #2242

Merged
merged 14 commits into from
Feb 1, 2024
Merged
Prev Previous commit
Next Next commit
fix: compile problem in macos.
  • Loading branch information
KKorpse committed Dec 29, 2023
commit 9a3dabf2345db011d691e996ed154b5324067595
2 changes: 1 addition & 1 deletion src/storage/src/redis_streams.cc
Original file line number Diff line number Diff line change
@@ -219,7 +219,7 @@ Status RedisStreams::XRevrange(const Slice& key, const StreamScanArgs& args, std
return s;
}

Status RedisStreams::XLen(const Slice& key, uint64_t& len) {
Status RedisStreams::XLen(const Slice& key, size_t& len) {
rocksdb::ReadOptions read_options;
const rocksdb::Snapshot* snapshot;
ScopeSnapshot ss(db_, &snapshot);