mirror of https://github.com/milvus-io/milvus.git
Check error in MoveSegmentBinlogs (#8704)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/8722/head
parent
c152cf2b6b
commit
e5bc8e7050
|
@ -368,8 +368,7 @@ func (m *meta) MoveSegmentBinlogs(segmentID UniqueID, oldPathPrefix string, fiel
|
|||
k := buildSegmentPath(segment.GetCollectionID(), segment.GetPartitionID(), segment.GetID())
|
||||
kv[k] = proto.MarshalTextString(segment.SegmentInfo)
|
||||
}
|
||||
m.client.MultiSaveAndRemoveWithPrefix(kv, removals)
|
||||
return nil
|
||||
return m.client.MultiSaveAndRemoveWithPrefix(kv, removals)
|
||||
}
|
||||
|
||||
// saveSegmentInfo utility function saving segment info into kv store
|
||||
|
|
Loading…
Reference in New Issue