Print msgID instead of msg (#16268)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2022-04-29 19:11:47 +08:00 committed by GitHub
parent 6440c0dd98
commit f18b3c44ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,7 @@ func (q *queryCollection) consumeQuery() {
case *msgstream.SealedSegmentsChangeInfoMsg: case *msgstream.SealedSegmentsChangeInfoMsg:
q.adjustByChangeInfo(sm) q.adjustByChangeInfo(sm)
default: default:
log.Warn("unsupported msg type in search channel", zap.Any("msg", sm)) log.Warn("unsupported msg type in search channel", zap.Int64("msgID", sm.ID()))
} }
} }
} }