[skip e2e]Improve log format (#14886)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/14889/head
xige-16 2022-01-05 21:17:21 +08:00 committed by GitHub
parent b3d33a78f5
commit 851794598e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -417,7 +417,7 @@ func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.Releas
log.Error(err.Error())
return status, nil
}
log.Debug("releasePartitionsTask Enqueue done", zap.Any("collectionID", in.CollectionID))
log.Debug("releasePartitionsTask Enqueue done", zap.Int64("collectionID", in.CollectionID), zap.Int64s("partitionIDs", in.PartitionIDs))
func() {
err = dct.WaitToFinish()
@ -425,7 +425,7 @@ func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.Releas
log.Error(err.Error())
return
}
log.Debug("releasePartitionsTask WaitToFinish done", zap.Any("collectionID", in.CollectionID))
log.Debug("releasePartitionsTask WaitToFinish done", zap.Int64("collectionID", in.CollectionID), zap.Int64s("partitionIDs", in.PartitionIDs))
}()
status := &commonpb.Status{