From 198134b6dab0b3ac45aa23331fd5644653d3de00 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Thu, 13 Jun 2024 11:52:51 +0800 Subject: [PATCH] fix: remove log Signed-off-by: hi-rustin --- pkg/statistics/handle/globalstats/global_stats.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/statistics/handle/globalstats/global_stats.go b/pkg/statistics/handle/globalstats/global_stats.go index b23e12bdffb7d..4eff64fc0961b 100644 --- a/pkg/statistics/handle/globalstats/global_stats.go +++ b/pkg/statistics/handle/globalstats/global_stats.go @@ -103,7 +103,6 @@ func MergePartitionStats2GlobalStats( histIDs []int64, ) (globalStats *GlobalStats, err error) { if sc.GetSessionVars().EnableAsyncMergeGlobalStats { - logutil.BgLogger().Info("use async merge global stats", zap.String("table", globalTableInfo.Name.L)) worker, err := NewAsyncMergePartitionStats2GlobalStats(statsHandle, globalTableInfo, histIDs, is) if err != nil { return nil, errors.Trace(err) @@ -114,7 +113,6 @@ func MergePartitionStats2GlobalStats( } return worker.Result(), nil } - logutil.BgLogger().Info("use blocking merge global stats", zap.String("table", globalTableInfo.Name.L)) return blockingMergePartitionStats2GlobalStats(sc, statsHandle.GPool(), opts, is, globalTableInfo, isIndex, histIDs, nil, statsHandle) }