Refine log in proxy searchTask (#16263)

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/16295/head
XuanYang-cn 2022-03-30 22:09:28 +08:00 committed by GitHub
parent 899638810a
commit a0bb758be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -971,8 +971,9 @@ func (st *searchTask) PreExecute(ctx context.Context) error {
if showResp.Status.ErrorCode != commonpb.ErrorCode_Success {
return errors.New(showResp.Status.Reason)
}
log.Debug("QueryCoord show collections",
zap.Any("collID", collID),
log.Debug("successfully get collections from QueryCoord",
zap.String("target collection name", collectionName),
zap.Int64("target collection ID", collID),
zap.Any("collections", showResp.CollectionIDs),
)
collectionLoaded := false