From 6e847ff194b7e59168281e094fa2510bceb88a38 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Tue, 11 Jan 2022 09:37:35 +0800 Subject: [PATCH] Make dn handleChannelInfo log more consist (#14936) Signed-off-by: yangxuan --- internal/datanode/data_node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/datanode/data_node.go b/internal/datanode/data_node.go index 8fc1c15b09..0601330164 100644 --- a/internal/datanode/data_node.go +++ b/internal/datanode/data_node.go @@ -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 {