milvus/internal/datacoord
wayblink f7a3fd8bbf
enhance:[cherry-pick] improve ut cov of clustering compaction task (#35243)
issue: #34792
master pr: #35242

Signed-off-by: wayblink <anyang.wang@zilliz.com>
2024-08-09 15:26:18 +08:00
..
broker enhance: Improve datacoord segment filtering with collection (#32831) 2024-05-08 21:37:29 +08:00
allocator_test.go
allocator.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
analyze_meta_test.go enhance: [cherry-pick] Refine index code and support analyze data (#34311) 2024-07-02 09:50:39 +08:00
analyze_meta.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
build_index_policy.go
channel_checker_test.go
channel_checker.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
channel_manager_factory.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
channel_manager_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
channel_manager_v2_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
channel_manager_v2.go enhance: [2.4] Continue loop when reassign channel fails (#34331) (#34425) 2024-07-05 11:14:08 +08:00
channel_manager.go enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +08:00
channel_store_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
channel_store_v2_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
channel_store_v2.go enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +08:00
channel_store.go enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +08:00
channel.go enhance: [2.4] Add lint rule to forbid gogo protobuf (#34594) (#34630) 2024-07-12 18:13:36 +08:00
cluster_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
cluster.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
compaction_l0_view_test.go enhance: Add deltaRowCount in l0 compaction (#33843) 2024-06-20 19:32:02 +08:00
compaction_l0_view.go enhance: Add deltaRowCount in l0 compaction (#33843) 2024-06-20 19:32:02 +08:00
compaction_policy_clustering_test.go enhance: [2.4] Add in-memory cache for casbin enforcer result (#35272) 2024-08-06 12:14:17 +08:00
compaction_policy_clustering.go enhance: [cherry-pick] improve ut for compaction_policy_clustering (#35206) 2024-08-02 16:38:15 +08:00
compaction_policy_l0_test.go enhance: [cherry-pick] improve ut for compaction_policy_clustering (#35206) 2024-08-02 16:38:15 +08:00
compaction_policy_l0.go enhance: [cherry-pick] refine clustering compaction configs and logs (#34818) 2024-07-21 19:27:41 +08:00
compaction_policy_single_test.go enhance: [cherry-pick] support l2 single compaction (#34929) 2024-07-24 11:47:50 +08:00
compaction_policy_single.go enhance: [cherry-pick] support l2 single compaction (#34929) 2024-07-24 11:47:50 +08:00
compaction_task_clustering_test.go enhance:[cherry-pick] improve ut cov of clustering compaction task (#35243) 2024-08-09 15:26:18 +08:00
compaction_task_clustering.go enhance:[cherry-pick] improve ut cov of clustering compaction task (#35243) 2024-08-09 15:26:18 +08:00
compaction_task_l0_test.go enhance: Add more ut for l0CompactionTask (#35101) 2024-07-31 17:19:50 +08:00
compaction_task_l0.go enhance: Add more ut for l0CompactionTask (#35101) 2024-07-31 17:19:50 +08:00
compaction_task_meta_test.go fix: [cherry-pick] fix collection is compacting logic (#34862) 2024-07-22 11:09:45 +08:00
compaction_task_meta.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
compaction_task_mix_test.go enhance: Refactor Compaction to enable persistence(#33265) (#34268) 2024-07-01 19:32:07 +08:00
compaction_task_mix.go enhance:[cherry-pick] Add compaction task slot usage logic (#34625) 2024-07-18 09:55:43 +08:00
compaction_task_test.go enhance: Refactor Compaction to enable persistence(#33265) (#34268) 2024-07-01 19:32:07 +08:00
compaction_task.go fix:[cherry-pick] minor fixs for major compaction (#34402) 2024-07-04 14:44:10 +08:00
compaction_test.go enhance: [cherry-pick] unify time in clustering compaction task to unix (#35168) 2024-08-02 10:30:19 +08:00
compaction_trigger_test.go enhance:[cherry-pick] Add compaction task slot usage logic (#34625) 2024-07-18 09:55:43 +08:00
compaction_trigger_v2_test.go enhance: [cherry-pick] improve ut for compaction_policy_clustering (#35206) 2024-08-02 16:38:15 +08:00
compaction_trigger_v2.go enhance: [cherry-pick] improve ut for compaction_policy_clustering (#35206) 2024-08-02 16:38:15 +08:00
compaction_trigger.go enhance: Avoid unnecessary compaction (#35148) (#35149) 2024-08-06 10:30:20 +08:00
compaction_view.go feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
compaction.go enhance: [cherry-pick] unify time in clustering compaction task to unix (#35168) 2024-08-02 10:30:19 +08:00
const.go
errors_test.go
errors.go
garbage_collector_test.go fix: encountering orphan channel-cp meta after GC (#34609) 2024-07-11 22:51:37 +08:00
garbage_collector.go enhance: the datacoord gc should fast quitable (#35051) 2024-07-30 14:11:58 +08:00
handler.go enhance: [cherry-pick] Refine code for GetRecoveryInfo (#34974) 2024-07-24 22:01:44 +08:00
import_checker_test.go feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
import_checker.go enhance: Avoid unnecessary compaction (#35148) (#35149) 2024-08-06 10:30:20 +08:00
import_job.go fix: Fix multiple vector fields import (#33723) (#33724) 2024-06-10 21:55:55 +08:00
import_meta_test.go feat: Add import scheduler and manager (#29367) 2024-03-01 18:31:02 +08:00
import_meta.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
import_scheduler_test.go feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
import_scheduler.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +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: Add import option to skip disk quota check (#35274) (#35275) 2024-08-06 15:54:17 +08:00
import_util.go enhance: Add import option to skip disk quota check (#35274) (#35275) 2024-08-06 15:54:17 +08:00
index_engine_version_manager_test.go
index_engine_version_manager.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
index_meta_test.go enhance: ensure autoindex default metric type compatibility (#34479) 2024-07-08 19:48:14 +08:00
index_meta.go enhance: Avoid unnecessary compaction (#35148) (#35149) 2024-08-06 10:30:20 +08:00
index_service_test.go enhance: decrease cpu overhead during filter segments on datacoord (#34231) 2024-07-01 10:20:08 +08:00
index_service.go enhance: [cherry-pick] Skip pick worker when task doesn't need to execute actually (#34382) 2024-07-03 15:54:08 +08:00
indexnode_manager_test.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
indexnode_manager.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
meta_test.go fix: [cherry-pick] fix dropped segment still visible after dropped by L2 single compaction (#35006) 2024-07-26 13:47:48 +08:00
meta_util.go
meta.go enhance: Init channel cp metric when DataCoord recover (#35352) 2024-08-08 12:22:18 +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 enhance: [2.4] Add l0 segment entry num quota (#34733) (#34837) 2024-07-22 12:05:43 +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 enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +08:00
mock_channelmanager.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_cluster.go enhance: Refactor Compaction to enable persistence(#33265) (#34268) 2024-07-01 19:32:07 +08:00
mock_compaction_meta.go enhance: Refine compaction (#33982) (#34363) 2024-07-03 09:52:49 +08:00
mock_compaction_plan_context.go enhance: Refactor Compaction to enable persistence(#33265) (#34268) 2024-07-01 19:32:07 +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_segment_manager.go enhance: Execute bloom filter apply in parallel to speed up segment predict (#33793) 2024-06-13 14:14:04 +08:00
mock_session_manager.go enhance: [cherry-pick] Remove compaction plans on the datanode (#33548) (#34312) 2024-07-02 17:39:08 +08:00
mock_subcluster.go feat: datacoord/node watch based on rpc (#32036) 2024-05-07 15:49:30 +08:00
mock_test.go fix: [cherry-pick] fix collection is compacting logic (#34862) 2024-07-22 11:09:45 +08:00
mock_trigger_manager.go feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
mock_worker_manager.go enhance: [cherry-pick] Refine index code and support analyze data (#34311) 2024-07-02 09:50:39 +08:00
OWNERS
partition_stats_meta_test.go enhance: [cherry-pick] add commit time in partitionStats proto (#35124) 2024-07-31 21:22:04 +08:00
partition_stats_meta.go enhance: [cherry-pick] add commit time in partitionStats proto (#35124) 2024-07-31 21:22:04 +08:00
policy_test.go enhance: Solve channel unbalance on datanode (#34984) (#35033) 2024-07-29 11:33:50 +08:00
policy.go enhance: Solve channel unbalance on datanode (#34984) (#35033) 2024-07-29 11:33:50 +08:00
README.md
segment_allocation_policy_test.go enhance:[cherry-pick] Support calculate segment maxRows with diskann (#35155) 2024-08-02 09:56:14 +08:00
segment_allocation_policy.go enhance:[cherry-pick] Support calculate segment maxRows with diskann (#35155) 2024-08-02 09:56:14 +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: [2.4] Add l0 segment entry num quota (#34733) (#34837) 2024-07-22 12:05:43 +08:00
segment_manager_test.go enhance: [2.4] Print reason when seal segments (#34575) (#34687) 2024-07-15 22:49:39 +08:00
segment_manager.go enhance: Seal by total growing segments size (#34692) (#34779) 2024-07-19 18:25:50 +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 enhance: decrease cpu overhead during filter segments on datacoord (#34231) 2024-07-01 10:20:08 +08:00
server_test.go fix: collection meta is not removed after gc in DataCoord (#34884) 2024-07-22 21:11:48 +08:00
server.go fix: collection meta is not removed after gc in DataCoord (#34884) 2024-07-22 21:11:48 +08:00
services_test.go feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
services.go fix: Milvus panic when compaction disabled and dropping a collection (#34206) 2024-07-11 14:20:52 +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: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
session.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
sync_segments_scheduler_test.go enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
sync_segments_scheduler.go fix: [cherry-pick] Fix the issue of missing stats log after clustering compaction (#35267) 2024-08-07 12:08:16 +08:00
task_analyze.go enhance: [cherry-pick] Add monitoring metrics for task execution time in datacoord (#35141) 2024-08-02 19:46:16 +08:00
task_index.go enhance: [cherry-pick] Add monitoring metrics for task execution time in datacoord (#35141) 2024-08-02 19:46:16 +08:00
task_scheduler_test.go enhance: [cherry-pick] Add monitoring metrics for task execution time in datacoord (#35141) 2024-08-02 19:46:16 +08:00
task_scheduler.go enhance: [cherry-pick] Add monitoring metrics for task execution time in datacoord (#35141) 2024-08-02 19:46:16 +08:00
types.go enhance: [cherry-pick] Add monitoring metrics for task execution time in datacoord (#35141) 2024-08-02 19:46:16 +08:00
util_test.go enhance: Add memory size for binlog (#33025) 2024-05-15 12:59:34 +08:00
util.go fix: encountering orphan channel-cp meta after GC (#34609) 2024-07-11 22:51:37 +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.