Improve datacoord log (#13392)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/13421/head
Bingyi Sun 2021-12-15 10:41:27 +08:00 committed by GitHub
parent 14a4e4083c
commit 4a5aa1cfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -951,10 +951,10 @@ func (s *Server) GetFlushState(ctx context.Context, req *milvuspb.GetFlushStateR
}
if len(unflushed) != 0 {
log.Debug("unflushed segment ids", zap.Int64s("segment ids", unflushed), zap.Int("len", len(unflushed)))
log.Debug("[flush state] unflushed segment ids", zap.Int64s("segment ids", unflushed), zap.Int("len", len(unflushed)))
resp.Flushed = false
} else {
log.Debug("all segment is flushed", zap.Int64s("segment ids", req.GetSegmentIDs()))
log.Debug("[flush state] all segment is flushed", zap.Int64s("segment ids", req.GetSegmentIDs()))
resp.Flushed = true
}