This is an automated email from the ASF dual-hosted git repository.
hulk pushed a change to branch aleksraiden-patch-3
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
from deb6e308 Merge branch 'unstable' into aleksraiden-patch-3
add a1e0957c refactor: Improve consistency and isolation semantics by
adding Context parameter to DB API (#2332)
add c0a00628 Merge branch 'unstable' into aleksraiden-patch-3
No new revisions were added by this update.
Summary of changes:
src/cluster/cluster.cc | 6 +-
src/cluster/slot_import.cc | 9 +-
src/cluster/slot_migrate.cc | 3 +-
src/commands/cmd_bit.cc | 20 +-
src/commands/cmd_bloom_filter.cc | 24 +-
src/commands/cmd_function.cc | 5 +-
src/commands/cmd_geo.cc | 26 +-
src/commands/cmd_hash.cc | 48 +-
src/commands/cmd_hll.cc | 11 +-
src/commands/cmd_json.cc | 75 ++-
src/commands/cmd_key.cc | 61 +-
src/commands/cmd_list.cc | 72 ++-
src/commands/cmd_pubsub.cc | 8 +-
src/commands/cmd_search.cc | 4 +-
src/commands/cmd_server.cc | 42 +-
src/commands/cmd_set.cc | 51 +-
src/commands/cmd_sortedint.cc | 18 +-
src/commands/cmd_stream.cc | 76 ++-
src/commands/cmd_string.cc | 76 ++-
src/commands/cmd_zset.cc | 104 ++--
src/common/db_util.h | 13 +-
src/search/executors/filter_executor.h | 6 +-
src/search/executors/full_index_scan_executor.h | 8 +-
.../hnsw_vector_field_knn_scan_executor.h | 4 +-
.../hnsw_vector_field_range_scan_executor.h | 6 +-
src/search/executors/numeric_field_scan_executor.h | 8 +-
src/search/executors/projection_executor.h | 5 +-
src/search/executors/tag_field_scan_executor.h | 8 +-
src/search/executors/topn_sort_executor.h | 2 +-
src/search/hnsw_indexer.cc | 101 ++--
src/search/hnsw_indexer.h | 35 +-
src/search/index_manager.h | 20 +-
src/search/indexer.cc | 77 +--
src/search/indexer.h | 32 +-
src/search/plan_executor.cc | 10 +-
src/search/plan_executor.h | 3 +-
src/server/namespace.cc | 6 +-
src/server/redis_connection.cc | 5 +-
src/server/server.cc | 33 +-
src/stats/disk_stats.cc | 44 +-
src/stats/disk_stats.h | 16 +-
src/storage/batch_indexer.h | 93 +++
src/storage/iterator.cc | 18 +-
src/storage/iterator.h | 5 +-
src/storage/rdb.cc | 36 +-
src/storage/rdb.h | 7 +-
src/storage/redis_db.cc | 194 +++----
src/storage/redis_db.h | 89 ++-
src/storage/redis_pubsub.cc | 4 +-
src/storage/redis_pubsub.h | 2 +-
src/storage/scripting.cc | 24 +-
src/storage/scripting.h | 6 +-
src/storage/storage.cc | 135 +++--
src/storage/storage.h | 115 +++-
src/types/redis_bitmap.cc | 120 ++--
src/types/redis_bitmap.h | 30 +-
src/types/redis_bitmap_string.cc | 10 +-
src/types/redis_bitmap_string.h | 7 +-
src/types/redis_bloom_chain.cc | 59 +-
src/types/redis_bloom_chain.h | 25 +-
src/types/redis_geo.cc | 91 +--
src/types/redis_geo.h | 44 +-
src/types/redis_hash.cc | 105 ++--
src/types/redis_hash.h | 37 +-
src/types/redis_hyperloglog.cc | 83 ++-
src/types/redis_hyperloglog.h | 18 +-
src/types/redis_json.cc | 190 ++++---
src/types/redis_json.h | 91 +--
src/types/redis_list.cc | 139 +++--
src/types/redis_list.h | 45 +-
src/types/redis_set.cc | 121 ++--
src/types/redis_set.h | 44 +-
src/types/redis_sortedint.cc | 61 +-
src/types/redis_sortedint.h | 20 +-
src/types/redis_stream.cc | 281 +++++----
src/types/redis_stream.h | 71 +--
src/types/redis_string.cc | 148 ++---
src/types/redis_string.h | 65 ++-
src/types/redis_zset.cc | 199 ++++---
src/types/redis_zset.h | 70 ++-
tests/cppunit/cluster_test.cc | 44 +-
tests/cppunit/compact_test.cc | 25 +-
tests/cppunit/disk_test.cc | 71 +--
tests/cppunit/hnsw_index_test.cc | 178 +++---
tests/cppunit/hnsw_node_test.cc | 42 +-
tests/cppunit/indexer_test.cc | 80 +--
tests/cppunit/iterator_test.cc | 120 ++--
tests/cppunit/metadata_test.cc | 42 +-
tests/cppunit/plan_executor_test.cc | 103 ++--
tests/cppunit/rdb_test.cc | 17 +-
tests/cppunit/storage_test.cc | 4 +-
tests/cppunit/test_base.h | 3 +
tests/cppunit/types/bitmap_test.cc | 198 +++----
tests/cppunit/types/bloom_chain_test.cc | 18 +-
tests/cppunit/types/geo_test.cc | 38 +-
tests/cppunit/types/hash_test.cc | 132 ++---
tests/cppunit/types/hyperloglog_test.cc | 84 +--
tests/cppunit/types/json_test.cc | 431 +++++++-------
tests/cppunit/types/list_test.cc | 266 ++++-----
tests/cppunit/types/set_test.cc | 160 +++---
tests/cppunit/types/sortedint_test.cc | 18 +-
tests/cppunit/types/stream_test.cc | 629 ++++++++++-----------
tests/cppunit/types/string_test.cc | 158 +++---
tests/cppunit/types/zset_test.cc | 162 +++---
tests/cppunit/writebatch_indexer_test.cc | 106 ++++
.../integration/replication/replication_test.go | 1 -
tests/gocase/unit/protocol/regression_test.go | 4 +-
tests/gocase/unit/type/list/list_test.go | 65 ++-
tests/gocase/unit/type/zset/zset_test.go | 7 +
utils/kvrocks2redis/parser.cc | 3 +-
110 files changed, 3989 insertions(+), 3303 deletions(-)
create mode 100644 src/storage/batch_indexer.h
create mode 100644 tests/cppunit/writebatch_indexer_test.cc