Closed NicoYuan1986 closed 9 minutes ago
/assign @XuanYang-cn /unassign
It seems to be related to this PR #37385.
From the logs, I noticed that Milvus loads sements in the following order:
first Growing
, the L0
, and the L1/L2
.
The changs in this PR cause some L1
segments to load as Growing, so they do not reference the deletion messages in L0
.
I will continue to investigate why Growing
is loaded first.
I found the reason. When loading L0
during WatchDmChannels
, the L0
segment was retrieved from the wrong field. FlushedSegmentIds
does not contain any L0
segments; they are actually in LevelZeroSegmentIds
.
I will fix it.
The reason L0
eventually loaded is that QueryCoord
detected that some L0
segments were not loaded and resent the loading segments request.
/unassign
/assign @NicoYuan1986
could you pls on verifying it?
Is there an existing issue for this?
Environment
Current Behavior
The query result is wrong after delete half the entities and compact.
Expected Behavior
the result is half the number of entities
Steps To Reproduce
No response
Milvus Log
Anything else?
No response