milvus/internal/datanode/compaction
yihao.dai ca758c36cc
enhance: Pre-allocate ids for compaction (#34187)
This PR removes the dependency of compaction on the ID allocator by
pre-allocating the logID and segmentID.

issue: https://github.com/milvus-io/milvus/issues/33957

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2024-07-17 13:23:42 +08:00
..
clustering_compactor_test.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
clustering_compactor.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
compactor_common.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
compactor.go enhance: Decouple compaction from shard (#33138) 2024-05-24 09:07:41 +08:00
executor_test.go enhance: Ensure the idempotency of compaction task (#33872) 2024-06-16 22:09:57 +08:00
executor.go enhance: Ensure the idempotency of compaction task (#33872) 2024-06-16 22:09:57 +08:00
l0_compactor_test.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
l0_compactor.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
load_stats.go enhance: make subfunctions of datanode component modular (#33992) 2024-07-01 14:46:07 +08:00
mix_compactor_test.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
mix_compactor.go enhance: Pre-allocate ids for compaction (#34187) 2024-07-17 13:23:42 +08:00
mock_compactor.go enhance: Periodically synchronize segments to datanode watcher (#33420) 2024-05-30 13:37:44 +08:00
segment_writer.go fix: Fix memory buffer error & some renaming (#33850) 2024-06-21 17:30:01 +08:00