From 5eef9886b39b4308e90575ac6cab3a54a0856157 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Mon, 7 Feb 2022 16:55:44 +0800 Subject: [PATCH] Add more specific log when exiting BackGroundGC goroutine (#15273) Signed-off-by: yangxuan --- internal/datanode/data_node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datanode/data_node.go b/internal/datanode/data_node.go index ebc644d9ae..aee6aad567 100644 --- a/internal/datanode/data_node.go +++ b/internal/datanode/data_node.go @@ -411,7 +411,7 @@ func (node *DataNode) BackGroundGC(vChannelCh <-chan string) { log.Info("GC flowgraph", zap.String("vChanName", vchanName)) node.releaseFlowgraph(vchanName) case <-node.ctx.Done(): - log.Info("DataNode ctx done") + log.Warn("DataNode context done, exiting background GC") return } }