Make dn handleChannelInfo log more consist (#14936)

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/15135/head
XuanYang-cn 2022-01-11 09:37:35 +08:00 committed by GitHub
parent 951249c6c1
commit 6e847ff194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -317,9 +317,9 @@ func (node *DataNode) handleWatchInfo(key string, data []byte) {
log.Warn("fail to parse ChannelWatchInfo", zap.String("key", key), zap.Error(err))
return
}
log.Debug("DataNode handleWatchInfo Unmarshal success")
log.Debug("DataNode handleWatchInfo Unmarshal success", zap.String("key", key))
if watchInfo.State == datapb.ChannelWatchState_Complete {
log.Warn("DataNode handleWatchInfo State is already ChannelWatchState_Complete")
log.Warn("DataNode handleWatchInfo State is already ChannelWatchState_Complete", zap.String("key", key))
return
}
if watchInfo.Vchan == nil {