milvus/internal/datacoord
jaime 336e0ae45e
enhance: index meta use independent rather than global meta lock (#30986)
issue: https://github.com/milvus-io/milvus/issues/30837
pr: #30869

Signed-off-by: jaime <yun.zhang@zilliz.com>
2024-03-05 08:48:59 +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 fix: [cherry-pick] Clear DN unknown compaction tasks (#30972) 2024-03-04 16:52:59 +08:00
compaction_test.go fix: starve lock caused by slow GetCompactionTo method when too much segments (#30965) 2024-03-04 20:51:00 +08:00
compaction_trigger.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
compaction_trigger_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +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: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
garbage_collector_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
handler.go enhance: Change channel to Interface (#27839) (#29161) 2023-12-14 11:50:36 +08:00
index_builder.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
index_builder_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +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 enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
index_meta_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
index_service.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
index_service_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +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 enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
meta_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +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 feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +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 fix: Decoupling importing segment from flush process (#30402) (#30439) 2024-02-03 12:59:14 +08:00
segment_allocation_policy_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
segment_info.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
segment_info_test.go fix: starve lock caused by slow GetCompactionTo method when too much segments (#30965) 2024-03-04 20:51:00 +08:00
segment_manager.go fix: Decoupling importing segment from flush process (#30402) (#30439) 2024-02-03 12:59:14 +08:00
segment_manager_test.go fix: Decoupling importing segment from flush process (#30402) (#30439) 2024-02-03 12:59:14 +08:00
server.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
server_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
services.go fix: starve lock caused by slow GetCompactionTo method when too much segments (#30965) 2024-03-04 20:51:00 +08:00
services_test.go enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +08:00
session.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
session_manager.go fix: [cherry-pick] Clear DN unknown compaction tasks (#30972) 2024-03-04 16:52:59 +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 enhance: index meta use independent rather than global meta lock (#30986) 2024-03-05 08:48:59 +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.