mirror of https://github.com/milvus-io/milvus.git
issue: #43557 In 2.5 branch, L0 segments must be loaded before other segments. If an L0 segment has been garbage collected but is still in the target list, the load operation would keep failing, preventing other segments from being loaded. This patch adds a segment existence check for L0 segments in getSealedSegmentDiff. Only L0 segments that actually exist will be included in the load list. Changes: - Add checkSegmentExist function parameter to SegmentChecker constructor - Filter L0 segments by existence check in getSealedSegmentDiff - Add unit tests using mockey to verify the fix behavior Signed-off-by: Wei Liu <wei.liu@zilliz.com> |
||
---|---|---|
.. | ||
OWNERS | ||
balance_checker.go | ||
balance_checker_test.go | ||
channel_checker.go | ||
channel_checker_test.go | ||
checker.go | ||
controller.go | ||
controller_base_test.go | ||
controller_test.go | ||
index_checker.go | ||
index_checker_test.go | ||
leader_checker.go | ||
leader_checker_test.go | ||
segment_checker.go | ||
segment_checker_test.go |