milvus/internal/datacoord
SimFG a2365e4b2a
enhance: [2.3] Add concurrency for datacoord segment GC (#29557)
issue: #29553
pr: https://github.com/milvus-io/milvus/pull/29561
/kind improvement

Signed-off-by: SimFG <bang.fu@zilliz.com>
2024-01-03 13:16:57 +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 Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
allocator_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
build_index_policy.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
channel.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
channel_checker.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
channel_checker_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
channel_manager.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
channel_manager_factory.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
channel_manager_test.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
channel_store.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
channel_store_test.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
cluster.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
cluster_test.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
compaction.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
compaction_test.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
compaction_trigger.go enhance: Add config for auto upgrade segment index (#29112) (#29133) 2023-12-12 17:26:38 +08:00
compaction_trigger_test.go enhance: Add config for auto upgrade segment index (#29112) (#29133) 2023-12-12 17:26:38 +08:00
const.go Merge IndexCoord and DataCoord (#21267) 2023-01-04 19:37:36 +08:00
coordinator_broker.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
errors.go Refine DataCoord status (#27262) 2023-09-26 17:15:27 +08:00
errors_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
garbage_collector.go enhance: [2.3] Add concurrency for datacoord segment GC (#29557) 2024-01-03 13:16:57 +08:00
garbage_collector_test.go enhance: [2.3] Add concurrency for datacoord segment GC (#29557) 2024-01-03 13:16:57 +08:00
handler.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
index_builder.go feat: trigger compaction to handle index version (#28442) (#28754) 2023-11-28 10:24:26 +08:00
index_builder_test.go Fix bug for setting index state when indexnode connecting failed (#28221) 2023-11-07 23:34:26 +08:00
index_engine_version_manager.go feat: trigger compaction to handle index version (#28442) (#28754) 2023-11-28 10:24:26 +08:00
index_engine_version_manager_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
index_meta.go fix: [Pick]Set the default index name to the name of the existing index (#29281) 2023-12-20 14:10:40 +08:00
index_meta_test.go fix: [Pick]Set the default index name to the name of the existing index (#29281) 2023-12-20 14:10:40 +08:00
index_service.go fix: [Pick]Set the default index name to the name of the existing index (#29281) 2023-12-20 14:10:40 +08:00
index_service_test.go fix: [Pick]Set the default index name to the name of the existing index (#29281) 2023-12-20 14:10:40 +08:00
indexnode_manager.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
indexnode_manager_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
meta.go fix: [2.3]parse logID from logPath if copyDeltalog find logID not provided (#29276) 2023-12-27 14:42:46 +08:00
meta_test.go fix: [2.3]parse logID from logPath if copyDeltalog find logID not provided (#29276) 2023-12-27 14:42:46 +08:00
meta_util.go Make VChannelInfo read compatible with 2.0.2 (#17995) 2022-07-07 21:58:22 +08:00
metrics_info.go Disable auto balance when old node exists (#28191) (#28224) 2023-11-08 07:10:17 +08:00
metrics_info_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_allocator_test.go Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
mock_channel_store.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
mock_cluster.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
mock_compaction_plan_context.go Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
mock_handler.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
mock_index_engine_version_manager.go feat: trigger compaction to handle index version (#28442) (#28754) 2023-11-28 10:24:26 +08:00
mock_session_manager.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
mock_test.go fix: [2.3] Clean the compaction plan info to avoid the object leak (#29368) 2023-12-22 12:02:44 +08:00
policy.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
policy_test.go fix: [Cherry-pick] fix unstable ConsistencyHashPolicy ut (#28375) (#29235) 2023-12-15 18:34:38 +08:00
segment_allocation_policy.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
segment_allocation_policy_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
segment_info.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
segment_manager.go Remove the log for GetFlushableSegments in the datacoord (#27503) 2023-10-08 10:05:31 +08:00
segment_manager_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
server.go fix: Auto balance param can't be updated by dynamic(#29501) (#29502) 2023-12-27 14:30:53 +08:00
server_test.go fix: Auto balance param can't be updated by dynamic(#29501) (#29502) 2023-12-27 14:30:53 +08:00
services.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
services_test.go enhance: [cherry-pick] Add http method to control datacoord garbage collection (#29212) 2023-12-15 02:16:38 +08:00
session.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
session_manager.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
session_manager_test.go enhance: [Cherry-pick] pack datacoord Cluster and SessionManager with interface and mock them (#29171) 2023-12-25 14:42:44 +08:00
util.go Refine DataCoord status (#27262) 2023-09-26 17:15:27 +08:00
util_test.go Refine DataCoord status (#27262) 2023-09-26 17:15:27 +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.