milvus/internal/datacoord
XuanYang-cn fe2e3dcf4f
Cherry Pick of SyncSegments (#19312) (#19476)
Add a SyncSegments to sync meta between DN and DC
Add SyncSegments into proto (#19312)

See also: #19072

Signed-off-by: yangxuan <xuan.yang@zilliz.com>

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-09-27 18:16:54 +08:00
..
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
README.md [skip ci]Change etcd to lowercase (#9983) 2021-10-15 18:58:37 +08:00
allocator.go Fix Data race in NodeID (#16603) 2022-04-24 22:03:44 +08:00
allocator_test.go [skip ci]Update license for dc channel manager (#10591) 2021-10-25 20:19:25 +08:00
channel_checker.go Make VChannelInfo read compatible with 2.0.2 (#18160) 2022-07-08 14:58:22 +08:00
channel_checker_test.go Make VChannelInfo read compatible with 2.0.2 (#18160) 2022-07-08 14:58:22 +08:00
channel_manager.go Refine some codes about the datanode (#17720) 2022-06-23 09:58:14 +08:00
channel_manager_factory.go Update some comments for data coord with some minor code refactoring. (#15686) 2022-02-22 13:15:51 +08:00
channel_manager_test.go Enhance channel manager ut (#17682) 2022-06-23 18:08:14 +08:00
channel_store.go Make VChannelInfo read compatible with 2.0.2 (#18160) 2022-07-08 14:58:22 +08:00
channel_store_test.go Split watch operations to many transactions (#10655) 2021-10-26 19:38:20 +08:00
cluster.go Fix bug in metrics (#18144) 2022-07-08 14:10:22 +08:00
cluster_test.go Fix an issue with bulk load with multiple DataNodes (#17324) 2022-06-02 18:54:04 +08:00
compaction.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
compaction_test.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
compaction_trigger.go fix GetCompactionState hang (#18850) 2022-08-26 18:00:54 +08:00
compaction_trigger_test.go fix GetCompactionState hang (#18850) 2022-08-26 18:00:54 +08:00
const.go Add distributed lock for segment refgerence (#16782) 2022-05-31 16:36:03 +08:00
errors.go [skip e2e] Modify code comments according to naming conventions (#13709) 2021-12-20 11:20:43 +08:00
errors_test.go Improve import statement (#13725) 2021-12-20 15:46:03 +08:00
garbage_collector.go Fix Parse binlog path failure (#18584) 2022-08-15 16:57:52 +08:00
garbage_collector_test.go Use chunkManager rather than minio.Client in datanode garbage collection (#18513) 2022-08-03 16:44:37 +08:00
handler.go Move SegmentInfo out of VchannelInfo, leave Id only to decrease kv size. Get complete SegmentInfo through RPC (#17441) 2022-06-16 12:00:10 +08:00
meta.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
meta_test.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
meta_util.go Make VChannelInfo read compatible with 2.0.2 (#18160) 2022-07-08 14:58:22 +08:00
metrics_info.go Fix Data race in NodeID (#16603) 2022-04-24 22:03:44 +08:00
metrics_info_test.go [skip ci]Fix datacoord package name missing (#10608) 2021-10-25 21:21:40 +08:00
mock_test.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
policy.go Make VChannelInfo read compatible with 2.0.2 (#18160) 2022-07-08 14:58:22 +08:00
policy_test.go Make DataNode release rather than delete when reassign (#17293) 2022-06-02 13:56:04 +08:00
segment_allocation_policy.go Use GlobalParamTable for all components (#13885) 2021-12-23 18:39:11 +08:00
segment_allocation_policy_test.go Use GlobalParamTable for all components (#13885) 2021-12-23 18:39:11 +08:00
segment_info.go Fix # of rows of recovering segment (#18733) 2022-08-19 21:06:50 +08:00
segment_manager.go Drop empty sealed segment (#17708) (#18714) 2022-08-19 17:12:52 +08:00
segment_manager_test.go Drop empty sealed segment (#17708) (#18714) 2022-08-19 17:12:52 +08:00
segment_reference_manager.go Fix DN flowgraph delete buffer logs (#18658) 2022-08-16 14:34:49 +08:00
segment_reference_manager_test.go Acquiring the segment reference lock on task level (#17544) 2022-06-15 21:38:10 +08:00
server.go Fix garbage collection on the wrong path (#19353) 2022-09-22 14:10:52 +08:00
server_test.go refactor compaction concurency logic (#18795) 2022-08-23 19:20:53 +08:00
services.go fix GetCompactionState hang (#18850) 2022-08-26 18:00:54 +08:00
session.go [skip e2e] Refine datacoord session comment (#13796) 2021-12-20 19:48:53 +08:00
session_manager.go Cherry Pick of SyncSegments (#19312) (#19476) 2022-09-27 18:16:54 +08:00
util.go Make DataNode not panic if stale segment is not found during flush (#18345) 2022-07-20 21:18:29 +08:00
util_test.go Refine compaction selection poliy (#17486) 2022-06-15 23:14:10 +08:00

README.md

Data Coordinator

Data cooridnator(datacoord for short) is the component to organize DataNodes and segments allocations.

Dependency

  • KV store: a kv store has all the meta info datacoord needs to operate. (etcd)
  • Message stream: a message stream to communicate statistics information with data nodes. (Pulsar)
  • Root Coordinator: timestamp, id and meta source.
  • Data Node(s): could be an instance or a cluster, actual worker group handles data modification operations.