From d4ac622f5fd8ab0338b1ca7b70f8ed63cc025f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0tibran=C3=BD?= Date: Thu, 18 Jul 2024 09:43:32 +0200 Subject: [PATCH] Remove debug log message that generated 29% of messages in demo Mimir cluster. --- kv/memberlist/broadcast.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kv/memberlist/broadcast.go b/kv/memberlist/broadcast.go index 6657b73a5..aefaa2f65 100644 --- a/kv/memberlist/broadcast.go +++ b/kv/memberlist/broadcast.go @@ -1,10 +1,7 @@ package memberlist import ( - "fmt" - "github.com/go-kit/log" - "github.com/go-kit/log/level" "github.com/hashicorp/memberlist" ) @@ -45,7 +42,6 @@ func (r ringBroadcast) Invalidates(old memberlist.Broadcast) bool { // otherwise, we may be invalidating some older messages, which however covered different // ingesters if r.version >= oldb.version { - level.Debug(r.logger).Log("msg", "Invalidating forwarded broadcast", "key", r.key, "version", r.version, "oldVersion", oldb.version, "content", fmt.Sprintf("%v", r.content), "oldContent", fmt.Sprintf("%v", oldb.content)) return true } }