fix: Fix target segment marked dropped for save stats result twice (#45479)

issue: #45477 

master pr: #45478

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2025-11-11 23:41:37 +08:00 committed by GitHub
parent 1cfb9f6881
commit 49e3059719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2236,7 +2236,7 @@ func (m *meta) completeSortCompactionMutation(
StartPosition: oldSegment.GetStartPosition(), StartPosition: oldSegment.GetStartPosition(),
DmlPosition: oldSegment.GetDmlPosition(), DmlPosition: oldSegment.GetDmlPosition(),
IsImporting: oldSegment.GetIsImporting(), IsImporting: oldSegment.GetIsImporting(),
State: oldSegment.GetState(), State: commonpb.SegmentState_Flushed,
Level: oldSegment.GetLevel(), Level: oldSegment.GetLevel(),
LastLevel: oldSegment.GetLastLevel(), LastLevel: oldSegment.GetLastLevel(),
PartitionStatsVersion: oldSegment.GetPartitionStatsVersion(), PartitionStatsVersion: oldSegment.GetPartitionStatsVersion(),