Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto cmd_reps
  • Loading branch information
q3356564 committed Jul 22, 2024
2 parents fb8dd45 + 80c9b9d commit 311eecd
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 138 deletions.
4 changes: 2 additions & 2 deletions cmake/cpptrace.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ include_guard()
include(cmake/utils.cmake)

FetchContent_DeclareGitHubWithMirror(cpptrace
jeremy-rifkin/cpptrace v0.6.2
MD5=b13786adcc1785cb900746ea96c50bee
jeremy-rifkin/cpptrace v0.6.3
MD5=32f3c0087c676f3d96df4d53e42ca5e9
)

if (SYMBOLIZE_BACKEND STREQUAL "libbacktrace")
Expand Down
4 changes: 2 additions & 2 deletions cmake/gtest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ include_guard()
include(cmake/utils.cmake)

FetchContent_DeclareGitHubWithMirror(gtest
google/googletest v1.14.0
MD5=b4911e882c51cba34bebfb5df500a650
google/googletest v1.15.0
MD5=94dafd2b785621e2eeffde85ac9198b7
)

FetchContent_MakeAvailableWithArgs(gtest
Expand Down
2 changes: 1 addition & 1 deletion kvrocks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ max-bitmap-to-string-mb 16
# Whether to enable SCAN-like cursor compatible with Redis.
# If enabled, the cursor will be unsigned 64-bit integers.
# If disabled, the cursor will be a string.
# Default: no
# Default: yes
redis-cursor-compatible yes

# Whether to enable the RESP3 protocol.
Expand Down
8 changes: 4 additions & 4 deletions src/commands/cmd_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ class CommandXRead : public Commander,
redis::StreamRangeOptions options;
options.reverse = false;
options.start = ids_[i];
options.end = StreamEntryID{UINT64_MAX, UINT64_MAX};
options.end = StreamEntryID::Maximum();
options.with_count = with_count_;
options.count = count_;
options.exclude_start = true;
Expand Down Expand Up @@ -1218,7 +1218,7 @@ class CommandXRead : public Commander,
redis::StreamRangeOptions options;
options.reverse = false;
options.start = ids_[i];
options.end = StreamEntryID{UINT64_MAX, UINT64_MAX};
options.end = StreamEntryID::Maximum();
options.with_count = with_count_;
options.count = count_;
options.exclude_start = true;
Expand Down Expand Up @@ -1405,7 +1405,7 @@ class CommandXReadGroup : public Commander,
redis::StreamRangeOptions options;
options.reverse = false;
options.start = ids_[i];
options.end = StreamEntryID{UINT64_MAX, UINT64_MAX};
options.end = StreamEntryID::Maximum();
options.with_count = with_count_;
options.count = count_;
options.exclude_start = true;
Expand Down Expand Up @@ -1510,7 +1510,7 @@ class CommandXReadGroup : public Commander,
redis::StreamRangeOptions options;
options.reverse = false;
options.start = ids_[i];
options.end = StreamEntryID{UINT64_MAX, UINT64_MAX};
options.end = StreamEntryID::Maximum();
options.with_count = with_count_;
options.count = count_;
options.exclude_start = true;
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Config::Config() {
{"unixsocketperm", true, new OctalField(&unixsocketperm, 0777, 1, INT_MAX)},
{"log-retention-days", false, new IntField(&log_retention_days, -1, -1, INT_MAX)},
{"persist-cluster-nodes-enabled", false, new YesNoField(&persist_cluster_nodes_enabled, true)},
{"redis-cursor-compatible", false, new YesNoField(&redis_cursor_compatible, false)},
{"redis-cursor-compatible", false, new YesNoField(&redis_cursor_compatible, true)},
{"resp3-enabled", false, new YesNoField(&resp3_enabled, false)},
{"repl-namespace-enabled", false, new YesNoField(&repl_namespace_enabled, false)},
{"json-max-nesting-depth", false, new IntField(&json_max_nesting_depth, 1024, 0, INT_MAX)},
Expand Down
Loading

0 comments on commit 311eecd

Please sign in to comment.