This is an automated email from the ASF dual-hosted git repository.
aleksraiden pushed a change to branch aleksraiden-patch-ci-macos11
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
from 33b60d32 Update kvrocks.yaml
add 9b1ebcd6 Bump Snappy v1.2.1 (#2325)
add b42259eb Set ENABLE_NEW_ENCODING=FALSE in CI workflow (#2333)
add ff05ed0e Use hset instead of hmset at test kvrocks2redis (#2328)
add 479338de Remove 'ps aux' command from kvrocks2redis test in CI (#2337)
add 5e99b276 Improve RESP handling code in replication (#2334)
add 3bdf1ecf Rename last_idle_ms and last_active_ms in stream consumer
metadata (#2341)
add 5e044557 Fix JSON.[STRLEN|OBJLEN] response inconsistently with Redis
when the path doesn't exist (#2336)
add bd3c0532 Implement the new encoding for search framework (#2338)
add c750a167 ci(pr-lint): force the PR title to follow the conventional
commits (#2342)
add a4982669 chore(storage): remove FindKeyRangeWithPrefix and fix
DeleteRange (#2343)
add 3557ad3f feat(json): add support of the command JSON.DEBUG MEMORY
(#2323)
add 6baed12d fix(json): NumOp crash on large numbers (#2345)
add d2e0feb9 feat(search): add index building method to IndexUpdater
(#2346)
add c65e505f fix(config): avoid rewriting the config file if it's
unnecessary (#2347)
add 2d896298 feat(search): implement IndexManager and command
FT.CREATE|INFO|_LIST|SEARCH|SEARCHSQL (#2349)
add 309ea7b1 feat(search): improve the response format of
FT.SEARCH|SEARCHSQL (#2351)
add 5744d1b9 build: Change base Docker image from Alpine to Debian (#2348)
add eaf6b2e2 fix(stream): make consumer decrement pending number when
message is acknowledged. (#2352)
add 657bc81b Merge branch 'unstable' into aleksraiden-patch-ci-macos11
No new revisions were added by this update.
Summary of changes:
.github/workflows/kvrocks.yaml | 9 +-
.github/workflows/pr-lint.yaml | 91 +++++++
Dockerfile | 13 +-
cmake/snappy.cmake | 4 +-
src/cluster/replication.cc | 33 +--
src/cluster/replication.h | 6 +-
src/commands/cmd_json.cc | 61 ++++-
src/commands/cmd_replication.cc | 5 +-
src/commands/cmd_search.cc | 287 +++++++++++++++++++++
src/commands/cmd_server.cc | 20 +-
src/commands/cmd_stream.cc | 4 +-
src/commands/commander.h | 28 ++
src/commands/error_constants.h | 2 +
src/common/db_util.h | 2 +
src/common/event_util.h | 3 +
src/common/string_util.cc | 10 +
src/common/string_util.h | 1 +
src/config/config.cc | 11 +-
src/search/executors/filter_executor.h | 2 +-
src/search/executors/numeric_field_scan_executor.h | 45 ++--
src/search/executors/tag_field_scan_executor.h | 48 ++--
src/search/index_info.h | 25 +-
src/search/index_manager.h | 209 +++++++++++++++
src/search/indexer.cc | 202 +++++++++------
src/search/indexer.h | 25 +-
src/search/ir_sema_checker.h | 7 +-
src/search/passes/index_selection.h | 2 +-
src/search/search_encoding.h | 207 +++++++++++----
src/server/namespace.cc | 93 ++++---
src/server/namespace.h | 11 +-
src/server/redis_connection.cc | 40 ++-
src/server/redis_reply.cc | 4 +-
src/server/redis_reply.h | 4 +-
src/server/server.cc | 15 +-
src/server/server.h | 6 +
src/storage/compact_filter.h | 19 ++
src/storage/redis_db.cc | 59 +----
src/storage/redis_db.h | 3 -
src/storage/redis_metadata.cc | 19 +-
src/storage/redis_metadata.h | 16 --
src/storage/storage.cc | 31 ++-
src/storage/storage.h | 4 +-
src/types/json.h | 63 +++--
src/types/redis_json.cc | 27 +-
src/types/redis_json.h | 1 +
src/types/redis_stream.cc | 42 ++-
src/types/redis_stream_base.h | 4 +-
tests/cppunit/indexer_test.cc | 181 ++++++-------
tests/cppunit/ir_dot_dumper_test.cc | 17 +-
tests/cppunit/ir_pass_test.cc | 15 +-
tests/cppunit/ir_sema_checker_test.cc | 11 +-
tests/cppunit/plan_executor_test.cc | 20 +-
tests/cppunit/types/json_test.cc | 4 +-
tests/gocase/unit/hello/hello_test.go | 4 +-
tests/gocase/unit/namespace/namespace_test.go | 9 +
tests/gocase/unit/type/json/json_test.go | 34 ++-
tests/gocase/unit/type/stream/stream_test.go | 35 +++
utils/kvrocks2redis/tests/check_consistency.py | 4 +-
58 files changed, 1596 insertions(+), 561 deletions(-)
create mode 100644 .github/workflows/pr-lint.yaml
create mode 100644 src/commands/cmd_search.cc
create mode 100644 src/search/index_manager.h