milvus/internal/datacoord
XuanYang-cn 6843d6d376
fix: Compaction trigger choose 2 same segments (#32800)
DataNode would stuck at compactor try to lock the
same segmentID

See also: #32765

---------

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-05-07 19:01:31 +08:00
..
broker feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
allocator_test.go
allocator.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
build_index_policy.go
channel_checker_test.go
channel_checker.go
channel_manager_factory.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_manager_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_manager_v2_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_manager_v2.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_manager.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_store_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_store_v2_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_store_v2.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_store.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
cluster_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
cluster.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
compaction_l0_view_test.go enhance: Add force trigger (#30641) 2024-02-19 18:40:50 +08:00
compaction_l0_view.go fix: Trigger l0 compaction when l0 views don't change (#30729) 2024-03-05 16:37:00 +08:00
compaction_scheduler_test.go enhance: Add CompactionTaskNum metrics (#29518) 2023-12-28 15:46:55 +08:00
compaction_scheduler.go fix: Trigger l0 compaction when l0 views don't change (#30729) 2024-03-05 16:37:00 +08:00
compaction_test.go fix: [cherry-pick]Skip changing meta if nodeID not match with channel (#31672) 2024-04-10 15:09:18 +08:00
compaction_trigger_test.go fix: Compaction trigger choose 2 same segments (#32800) 2024-05-07 19:01:31 +08:00
compaction_trigger_v2_test.go fix: Skip to submit l0 tasks when scheduler full (#31270) 2024-03-15 10:21:12 +08:00
compaction_trigger_v2.go fix: Skip to submit l0 tasks when scheduler full (#31270) 2024-03-15 10:21:12 +08:00
compaction_trigger.go fix: Compaction trigger choose 2 same segments (#32800) 2024-05-07 19:01:31 +08:00
compaction_view_manager_test.go fix: Correct the last empty l0 views (#31198) 2024-03-14 10:31:04 +08:00
compaction_view_manager.go fix: Correct the last empty l0 views (#31198) 2024-03-14 10:31:04 +08:00
compaction_view.go fix: Trigger l0 compaction when l0 views don't change (#30729) 2024-03-05 16:37:00 +08:00
compaction.go fix: [cherry-pick]Skip changing meta if nodeID not match with channel (#31672) 2024-04-10 15:09:18 +08:00
const.go enhance: pass partition key scalar info if enabled when build vector index (#29931) 2024-01-24 00:04:55 +08:00
errors_test.go
errors.go
garbage_collector_test.go feat: LRU cache implementation (#32567) 2024-05-06 20:29:30 +08:00
garbage_collector.go feat: LRU cache implementation (#32567) 2024-05-06 20:29:30 +08:00
handler.go fix: modify retry error (#32351) 2024-04-18 14:25:14 +08:00
import_checker_test.go enhance: Ensure ImportV2 waits for the index to be built and refine some logic (#31629) 2024-04-01 20:09:13 +08:00
import_checker.go enhance: Ensure ImportV2 waits for the index to be built and refine some logic (#31629) 2024-04-01 20:09:13 +08:00
import_job.go enhance: Return more fields in import progress response (#31539) 2024-03-24 21:57:06 +08:00
import_meta_test.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
import_meta.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
import_scheduler_test.go enhance: Ensure ImportV2 waits for the index to be built and refine some logic (#31629) 2024-04-01 20:09:13 +08:00
import_scheduler.go enhance: add db label for deletion and bulkinsert operation (#32611) 2024-04-26 15:53:29 +08:00
import_task.go enhance: Enhance and modify the return content of ImportV2 (#31192) 2024-03-13 19:51:03 +08:00
import_util_test.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
import_util.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
index_builder_test.go enhance: gather materialized view search info once per request (#31996) 2024-04-11 15:21:19 +08:00
index_builder.go enhance: gather materialized view search info once per request (#31996) 2024-04-11 15:21:19 +08:00
index_engine_version_manager_test.go
index_engine_version_manager.go
index_meta_test.go enhance: speed up minor functions calls in datacoord (#32389) 2024-04-20 07:55:21 +08:00
index_meta.go enhance: speed up minor functions calls in datacoord (#32389) 2024-04-20 07:55:21 +08:00
index_service_test.go fix: Refine index param check for Create/Alter Index (#32712) 2024-05-06 15:43:29 +08:00
index_service.go fix: Refine index param check for Create/Alter Index (#32712) 2024-05-06 15:43:29 +08:00
indexnode_manager_test.go
indexnode_manager.go fix: Refine index param check for Create/Alter Index (#32712) 2024-05-06 15:43:29 +08:00
meta_test.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
meta_util.go
meta.go enhance: Add channelCPs in FlushResponse (#32044) 2024-04-30 09:45:27 +08:00
metrics_info_test.go enhance: Use channel manager interface in server_test (#31621) 2024-04-12 14:59:20 +08:00
metrics_info.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
mock_allocator_test.go enhance: index meta use independent rather than global meta lock (#30869) 2024-03-04 16:56:59 +08:00
mock_channel_store.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_channelmanager.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_cluster.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_compaction_meta.go enhance: Refine compaction interfaces to support major compaction (#30632) 2024-02-19 20:52:50 +08:00
mock_compaction_plan_context.go fix: Separate schedule and check results loop (#28692) 2023-11-29 10:50:29 +08:00
mock_handler.go fix: fix collectionInfo leak in datacoord (#32175) 2024-04-15 16:33:19 +08:00
mock_index_engine_version_manager.go
mock_scheduler.go enhance: Add CompactionTaskNum metrics (#29518) 2023-12-28 15:46:55 +08:00
mock_segment_manager.go enhance: index meta use independent rather than global meta lock (#30869) 2024-03-04 16:56:59 +08:00
mock_session_manager.go fix: add lazy load field to mark segment load type (#31591) 2024-03-28 11:23:10 +08:00
mock_subcluster.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_test.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +08:00
mock_trigger_manager.go
OWNERS
policy_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
policy.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
README.md
segment_allocation_policy_test.go
segment_allocation_policy.go fix: Decoupling importing segment from flush process (#30402) 2024-02-03 13:01:12 +08:00
segment_info_test.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
segment_info.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
segment_manager_test.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
segment_manager.go enhance: Ensure ImportV2 waits for the index to be built and refine some logic (#31629) 2024-04-01 20:09:13 +08:00
segment_operator_test.go fix: Prevent clone when selecting segments from meta (#30928) 2024-03-01 13:59:02 +08:00
segment_operator.go fix: Prevent clone when selecting segments from meta (#30928) 2024-03-01 13:59:02 +08:00
server_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
server.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
services_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
services.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
session_manager_test.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
session_manager.go enhance: Use channel manager interface in server_test (#31621) 2024-04-12 14:59:20 +08:00
session.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
util_test.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
util.go enhance: speed up minor functions calls in datacoord (#32389) 2024-04-20 07:55:21 +08:00

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.