diff --git a/pkg/bindinfo/binding_cache.go b/pkg/bindinfo/binding_cache.go index abd345ca2b273..89ef6f62f139b 100644 --- a/pkg/bindinfo/binding_cache.go +++ b/pkg/bindinfo/binding_cache.go @@ -116,7 +116,7 @@ func (fbc *fuzzyBindingCache) loadFromStore(missingSQLDigest []string) { for _, sqlDigest := range missingSQLDigest { bindings, err := fbc.loadBindingFromStorageFunc(sqlDigest) if err != nil { - logutil.BgLogger().Warn("loadBindingFromStorageFunc binding failed", zap.String("sqlDigest", sqlDigest), zap.Error(err)) + logutil.BgLogger().Warn("loadBindingFromStorageFunc failed", zap.String("sqlDigest", sqlDigest), zap.Error(err)) continue } // put binding into the cache diff --git a/pkg/bindinfo/global_handle.go b/pkg/bindinfo/global_handle.go index a7fad4ae35890..9f76de6a099d2 100644 --- a/pkg/bindinfo/global_handle.go +++ b/pkg/bindinfo/global_handle.go @@ -697,7 +697,6 @@ func (h *globalBindingHandle) LoadBindingsFromStorage(sqlDigest string) (Binding select { case result := <-resultChan: if result.Err != nil { - logutil.BgLogger().Warn("fail to LoadBindingsFromStorageToCache", zap.Error(err)) return nil, result.Err } bindings := result.Val