milvus/internal/datanode
XuanYang-cn 6dc7d2041f
fix: Set an empty segment if compaction deleted all inserts (#36045)
See also: #36038 
pr: #36044

---------

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-09-06 20:09:05 +08:00
..
allocator Replace manual composed grpc call with Broker methods (#27676) 2023-10-13 09:55:34 +08:00
broker enhance: limit getSegmentInfo batch size to avoid excced grpc message limit (#35432) 2024-08-13 11:42:19 +08:00
compaction fix: Set an empty segment if compaction deleted all inserts (#36045) 2024-09-06 20:09:05 +08:00
importv2 fix: Fix panic due to empty candidate import segments (#35673) (#35674) 2024-08-27 17:34:59 +08:00
io enhance: [cherry-pick] Optimize clustering compaction (#34313) (#34398) 2024-07-04 09:52:09 +08:00
iterators enhance: [2.4] Avoid merging insert data when buffering insert msgs (#34205) 2024-06-27 10:14:05 +08:00
metacache enhance: Use Blocked Bloom Filter instead of basic bloom fitler impl (#34377) 2024-07-05 17:04:10 +08:00
syncmgr enhance: Check segment existence when FlushSegments and add some key logs (#34438) (#34472) 2024-07-08 19:00:13 +08:00
util enhance: [cherry-pick] Move compactor into sub package (#34098) 2024-06-25 11:16:02 +08:00
writebuffer enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
cache_test.go Make duplicate flush recalls success and other logic update (#16755) 2022-05-06 17:49:51 +08:00
cache.go Use typeutil.ConcurrentMap instead of sync.Map (#25846) 2023-07-24 10:23:01 +08:00
channel_checkpoint_updater_test.go enhance: Prevent the backlog of channelCP update tasks, perform batch updates of channelCPs (#30941) 2024-03-07 20:39:02 +08:00
channel_checkpoint_updater.go enhance: [cherry-pick] Batch pick PRs related to compaction (#34315) 2024-07-02 09:54:07 +08:00
channel_manager_test.go fix: [2.4]channel manager's goroutine run order (#33121) 2024-05-21 14:31:39 +08:00
channel_manager.go fix: [2.4] Use correct release func when datanode unwatch a channel (#35657) 2024-08-23 14:09:03 +08:00
data_node_test.go enhance: Remove import v1 (#31403) 2024-03-22 15:29:09 +08:00
data_node.go enhance: [cherry-pick] Batch pick PRs related to compaction (#34315) 2024-07-02 09:54:07 +08:00
data_sync_service_test.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
data_sync_service.go enhance: [cherry-pick] Batch pick PRs related to compaction (#34315) 2024-07-02 09:54:07 +08:00
event_manager_test.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
event_manager.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
flow_graph_dd_node_test.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
flow_graph_dd_node.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
flow_graph_dmstream_input_node_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
flow_graph_dmstream_input_node.go enhance: [cherry-pick] optimize datanode cpu usage and correct the update logic of ttchecker (#34383) 2024-07-04 16:34:17 +08:00
flow_graph_manager_test.go enhance: Remove rootcoord from datanode broker (#32818) 2024-05-14 10:03:32 +08:00
flow_graph_manager.go enhance: Make datanode exit and case TestProxy faster (#32218) 2024-04-16 10:49:20 +08:00
flow_graph_message_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
flow_graph_message.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
flow_graph_node.go Make flow graph retry longer (#24355) 2023-05-25 09:53:30 +08:00
flow_graph_time_tick_node.go enhance: [cherry-pick] Batch pick PRs related to compaction (#34315) 2024-07-02 09:54:07 +08:00
flow_graph_time_ticker.go enhance: create goroutine only once (#28594) 2023-11-22 10:26:28 +08:00
flow_graph_write_node.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
flush_task_counter_test.go Fix flushManager.isFull is too slow (#28141) 2023-11-03 14:42:17 +08:00
flush_task_counter.go Fix flushManager.isFull is too slow (#28141) 2023-11-03 14:42:17 +08:00
meta_util.go Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
metrics_info.go enhance: Use struct{} for sync task future result (#32673) 2024-04-29 10:59:26 +08:00
mock_channelmanager.go enhance: Change DN channelmanger into interface (#29307) 2023-12-27 16:00:48 +08:00
mock_fgmanager.go enhance: Use struct{} for sync task future result (#32673) 2024-04-29 10:59:26 +08:00
mock_test.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
rate_collector_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
rate_collector.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
README.md [skip ci]Change uppercase of MinIO (#9539) 2021-10-09 11:22:58 +08:00
services_test.go enhance:[cherry-pick] Add compaction task slot usage logic (#34625) 2024-07-18 09:55:43 +08:00
services.go enhance:[cherry-pick] Add compaction task slot usage logic (#34625) 2024-07-18 09:55:43 +08:00
stats_updater_test.go Use writebuffer, sync manager refactory in datanode (#28320) 2023-11-15 15:24:18 +08:00
stats_updater.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
timetick_sender_test.go enhance: Reduce the memory usage of the timeTickSender (#30968) 2024-03-02 10:13:01 +08:00
timetick_sender.go enhance: [cherry-pick] optimize datanode cpu usage and correct the update logic of ttchecker (#34383) 2024-07-04 16:34:17 +08:00
util.go Format the code (#27275) 2023-09-21 09:45:27 +08:00

Data Node

DataNode is the component to write insert and delete messages into persistent blob storage, for example MinIO or S3.

Dependency

  • KV store: a kv store that persists messages into blob storage.
  • Message stream: receive messages and publish imformation
  • Root Coordinator: get the latest unique IDs.
  • Data Coordinator: get the flush information and which message stream to subscribe.