milvus/internal/datacoord
tinswzy 1dbb6cd7cb
Some checks are pending
Code Checker / Code Checker AMD64 Ubuntu 22.04 (push) Waiting to run
Code Checker / Code Checker Amazonlinux 2023 (push) Waiting to run
Code Checker / Code Checker rockylinux8 (push) Waiting to run
Mac Code Checker / Code Checker MacOS 13 (push) Waiting to run
Build and test / Build and test AMD64 Ubuntu 22.04 (push) Waiting to run
Build and test / UT for Cpp (push) Blocked by required conditions
Build and test / UT for Go (push) Blocked by required conditions
Build and test / Integration Test (push) Blocked by required conditions
Build and test / Upload Code Coverage (push) Blocked by required conditions
enhance: refine the datacoord meta related interfaces (#37957)
issue: #35917 
This PR refines the meta-related APIs in datacoord to allow the ctx to
be passed down to the catalog operation interfaces

Signed-off-by: tinswzy <zhenyuan.wei@zilliz.com>
2024-11-26 19:46:34 +08:00
..
allocator fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
broker fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
session fix: datacoord stuck at stopping progress (#36852) 2024-10-17 12:13:37 +08:00
analyze_meta_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
analyze_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
build_index_policy.go
channel_manager_factory.go fix: drop collection failed if enable streaming service (#37444) 2024-11-07 10:26:26 +08:00
channel_manager_test.go feat: add segment,pipeline, replica and resourcegroup api for WebUI (#37344) 2024-11-07 11:52:25 +08:00
channel_manager.go fix: Data race in datacoord channel manager (#37866) 2024-11-21 19:00:32 +08:00
channel_store_test.go fix: drop collection failed if enable streaming service (#37444) 2024-11-07 10:26:26 +08:00
channel_store.go fix: drop collection failed if enable streaming service (#37444) 2024-11-07 10:26:26 +08:00
channel.go fix: Fill nil schema so that Milvus can watch channel for those upgraded from 2.2 to 2.4 #35695 (#35694) 2024-08-27 10:36:59 +08:00
cluster_test.go enhance: Move datanode/indexnode manager to session pkg (#35634) 2024-08-22 16:02:56 +08:00
cluster.go enhance: Move datanode/indexnode manager to session pkg (#35634) 2024-08-22 16:02:56 +08:00
compaction_l0_view_test.go
compaction_l0_view.go
compaction_policy_clustering_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_policy_clustering.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_policy_l0_test.go enhance: Separate allocator pkg in datacoord (#35622) 2024-08-22 10:06:56 +08:00
compaction_policy_l0.go enhance: tidy compaction logs (#37595) 2024-11-12 21:18:29 +08:00
compaction_policy_single_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_policy_single.go enhance: tidy compaction logs (#37595) 2024-11-12 21:18:29 +08:00
compaction_queue_test.go fix: Refine compactionTask to avoid data race (#36936) 2024-10-24 09:55:28 +08:00
compaction_queue.go fix: Refine compactionTask to avoid data race (#36936) 2024-10-24 09:55:28 +08:00
compaction_task_clustering_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_clustering.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_l0_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_l0.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_meta_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_mix_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task_mix.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_task.go fix: Refine compactionTask to avoid data race (#36936) 2024-10-24 09:55:28 +08:00
compaction_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_trigger_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_trigger_v2_test.go enhance: Separate allocator pkg in datacoord (#35622) 2024-08-22 10:06:56 +08:00
compaction_trigger_v2.go fix: Separate L0 and Mix trigger interval (#37190) 2024-11-12 10:56:37 +08:00
compaction_trigger.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
compaction_view.go
compaction.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
const.go
errors_test.go
errors.go
garbage_collector_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
garbage_collector.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
go_channel_singleton.go fix: Fix improper use of offset in HybridSearch (#36244) 2024-09-13 22:05:15 +08:00
handler_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
handler.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_checker_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_checker.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_job.go fix: Revert "enhance: Support db for bulkinsert (#37012)" (#37420) 2024-11-07 17:02:25 +08:00
import_meta_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_scheduler_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_scheduler.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_task.go enhance: Use internal json(sonic) to replace std json lib (#37708) 2024-11-18 10:46:31 +08:00
import_util_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
import_util.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
index_engine_version_manager_test.go
index_engine_version_manager.go
index_meta_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
index_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
index_service_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
index_service.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
job_manager_test.go feat: add segment/channel/task/slow query render (#37561) 2024-11-12 17:44:29 +08:00
job_manager.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
meta_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
meta_util.go
meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
metrics_info_test.go enhance: add list index and segment index retrieval API for WebUI (#37861) 2024-11-22 16:58:34 +08:00
metrics_info.go enhance: add list index and segment index retrieval API for WebUI (#37861) 2024-11-22 16:58:34 +08:00
mock_channel_store.go enhance: regenerate datacoord mockery (#37501) 2024-11-07 17:38:24 +08:00
mock_channelmanager.go feat: add segment,pipeline, replica and resourcegroup api for WebUI (#37344) 2024-11-07 11:52:25 +08:00
mock_cluster.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_compaction_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
mock_compaction_plan_context.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
mock_handler.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_index_engine_version_manager.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_job_manager.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_segment_manager.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_subcluster.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mock_test.go enhance: Support custom privilege group for RBAC (#37087) 2024-11-09 08:44:28 +08:00
mock_trigger_manager.go fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
OWNERS
partition_stats_meta_test.go fix: Set current partition stats version to 0 by default when not present (#37299) 2024-10-31 12:48:21 +08:00
partition_stats_meta.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
policy_test.go fix: Fill nil schema so that Milvus can watch channel for those upgraded from 2.2 to 2.4 #35695 (#35694) 2024-08-27 10:36:59 +08:00
policy.go fix: drop collection failed if enable streaming service (#37444) 2024-11-07 10:26:26 +08:00
README.md
segment_allocation_policy_test.go
segment_allocation_policy.go fix: Fix large growing segment (#37388) 2024-11-07 17:12:25 +08:00
segment_info_test.go fix: Return all compactTo segments after support split (#36361) 2024-09-20 14:11:11 +08:00
segment_info.go enhance: Remove unnecessary clone in SetState (#37697) 2024-11-15 15:06:30 +08:00
segment_manager_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
segment_manager.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
segment_operator_test.go
segment_operator.go enhance: Update stats task to optional (#35947) 2024-09-12 20:37:08 +08:00
server_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
server.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
services_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
services.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
stats_task_meta_test.go fix: Record the nodeID before assigning tasks (#36371) 2024-09-28 17:21:15 +08:00
stats_task_meta.go feat: add segment,pipeline, replica and resourcegroup api for WebUI (#37344) 2024-11-07 11:52:25 +08:00
sync_segments_scheduler_test.go fix: datacoord stuck at stopping progress (#36852) 2024-10-17 12:13:37 +08:00
sync_segments_scheduler.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
task_analyze.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
task_index.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
task_scheduler_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
task_scheduler.go enhance: Reduce GetIndexInfos calls (#37695) 2024-11-19 14:24:31 +08:00
task_stats_test.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
task_stats.go enhance: refine the datacoord meta related interfaces (#37957) 2024-11-26 19:46:34 +08:00
types.go fix: Record the nodeID before assigning tasks (#36371) 2024-09-28 17:21:15 +08:00
util_test.go enhance: Separate allocator pkg in datacoord (#35622) 2024-08-22 10:06:56 +08:00
util.go enhance: add vector index mgr to remove vector index type dependency (#36843) 2024-10-17 22:15:25 +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.