[skip ci]Fix error log output format in flush_manager.go (#12857)

Signed-off-by: JackLCL <chenglong.li@zilliz.com>
pull/12877/head
JackLCL 2021-12-07 14:38:15 +08:00 committed by GitHub
parent f90410fe8e
commit e51ef53632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ func (m *rendezvousFlushManager) injectFlush(injection *taskInjection, segments
// fetch meta info for segment
func (m *rendezvousFlushManager) getSegmentMeta(segmentID UniqueID, pos *internalpb.MsgPosition) (UniqueID, UniqueID, *etcdpb.CollectionMeta, error) {
if !m.hasSegment(segmentID, true) {
return -1, -1, nil, fmt.Errorf("No such segment %d in the replica", segmentID)
return -1, -1, nil, fmt.Errorf("no such segment %d in the replica", segmentID)
}
// fetch meta information of segment