mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Set segment to delegator failed due to wrong time unit in segment version (#32923)
issue: #31468 pr: #31643 the fix in #31643 try to update segment version when set segment to delegator, but use wrong time unit as segment version, which make set segment failed, and block the balance channel. Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
996b79c76c
commit
7555b4a00f
@ -166,7 +166,7 @@ func (o *LeaderObserver) findNeedLoadedSegments(leaderView *meta.LeaderView, dis
|
||||
PartitionID: s.GetPartitionID(),
|
||||
SegmentID: s.GetID(),
|
||||
NodeID: s.Node,
|
||||
Version: time.Now().Unix(),
|
||||
Version: time.Now().UnixNano(),
|
||||
Info: loadInfo,
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user