milvus/internal/querynodev2/segments
zhenshan.cao 60e88fb833
fix: Restore the MVCC functionality. (#29749)
When the TimeTravel functionality was previously removed, it
inadvertently affected the MVCC functionality within the system. This PR
aims to reintroduce the internal MVCC functionality as follows:

1. Add MvccTimestamp to the requests of Search/Query and the results of
Search internally.
2. When the delegator receives a Query/Search request and there is no
MVCC timestamp set in the request, set the delegator's current tsafe as
the MVCC timestamp of the request. If the request already has an MVCC
timestamp, do not modify it.
3. When the Proxy handles Search and triggers the second phase ReQuery,
divide the ReQuery into different shards and pass the MVCC timestamp to
the corresponding Query requests.

issue: #29656

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-01-09 11:38:48 +08:00
..
bloom_filter_set_test.go enhance: add param for bloomfilter(#29388) (#29490) 2023-12-28 18:10:46 +08:00
bloom_filter_set.go enhance: add param for bloomfilter(#29388) (#29490) 2023-12-28 18:10:46 +08:00
cgo_util.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
collection.go feat: Support multiple vector search (#29433) 2024-01-08 15:34:48 +08:00
count_reducer_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
count_reducer.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
default_limit_reducer.go enable ctx traceId for assignsegment on dc(#26972) (#27108) (#27030) 2023-09-18 11:39:20 +08:00
load_field_data_info.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
load_index_info.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
manager_test.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
manager.go fix: make the entity num metric accurate (#29643) 2024-01-05 18:24:47 +08:00
mock_collection_manager.go Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
mock_data.go feat: Support multiple vector search (#29433) 2024-01-08 15:34:48 +08:00
mock_loader.go Deliver L0 segments delete records (#27722) 2023-11-07 01:44:18 +08:00
mock_segment_manager.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
mock_segment.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
OWNERS Fix offline set always nil (#23340) 2023-04-11 14:42:30 +08:00
plan_test.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
plan.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
pool_test.go enhance: make segments SQPool & LoadPool resizable (#29239) 2023-12-15 20:22:39 +08:00
pool.go enhance: make segments SQPool & LoadPool resizable (#29239) 2023-12-15 20:22:39 +08:00
reduce_test.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
reduce.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
reducer_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
reducer.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
result_sorter.go Fix bug of missing JSON type when sorting retrieve results (#25412) (#25455) 2023-07-10 20:02:28 +08:00
result_test.go feat: support search_group_by for milvus(#25324) (#28983) 2024-01-05 15:50:47 +08:00
result.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
retrieve_test.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
retrieve.go Refine delete by expression for forbid proxy dml task scheduler hang (#29340) 2023-12-26 19:52:48 +08:00
search_test.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
search.go Remove segment to LocalSegment type assertion (#26931) 2023-09-09 10:35:16 +08:00
segment_interface.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
segment_l0.go fix: Set & Return correct SegmentLevel in querynode segment manager (#29740) 2024-01-08 14:16:48 +08:00
segment_loader_test.go enhance: add log when release segment created for load failure (#29464) 2023-12-26 00:46:46 +08:00
segment_loader.go enhance: load delta logs concurrently (#29623) 2024-01-07 20:22:48 +08:00
segment_test.go enhance: add ctx for HandleCStatus and callers (#29517) 2023-12-27 16:10:47 +08:00
segment.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
statistics.go Protect segment from being released while query/search (#26322) 2023-08-16 18:38:17 +08:00
utils.go Deliver L0 segments delete records (#27722) 2023-11-07 01:44:18 +08:00
validate.go Format the code (#27275) 2023-09-21 09:45:27 +08:00