From 978b35c6afb874bb7284d90f348e986ca7622570 Mon Sep 17 00:00:00 2001 From: Daniel Blando Date: Wed, 26 Oct 2022 08:40:07 -0700 Subject: [PATCH] Remove duplicate log message (#4934) Signed-off-by: Daniel Deluiggi Signed-off-by: Daniel Deluiggi --- CHANGELOG.md | 1 + pkg/ingester/ingester.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91d5dcbe13..62fd1bd335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,6 +70,7 @@ * [BUGFIX] Respecting `-tracing.otel.sample-ratio` configuration when enabling OpenTelemetry tracing with X-ray. #4862 * [BUGFIX] QueryFrontend: fixed query_range requests when query has `start` equals to `end`. #4877 * [BUGFIX] AlertManager: fixed issue introduced by #4495 where templates files were being deleted when using alertmanager local store. #4890 +* [BUGFIX] Ingester: fixed incorrect logging at the start of ingester block shipping logic. #4934 ## 1.13.0 2022-07-14 diff --git a/pkg/ingester/ingester.go b/pkg/ingester/ingester.go index 3f0fca4703..91ad41f0e7 100644 --- a/pkg/ingester/ingester.go +++ b/pkg/ingester/ingester.go @@ -2102,7 +2102,6 @@ func (i *Ingester) shipBlocks(ctx context.Context, allowed *util.AllowedTenants) // particularly important for the JOINING state because there could // be a blocks transfer in progress (from another ingester) and if we // run the shipper in such state we could end up with race conditions. - level.Info(logutil.WithContext(ctx, i.logger)).Log("msg", "TSDB blocks shipping has been skipped because of the current ingester state") if i.lifecycler != nil { if ingesterState := i.lifecycler.GetState(); ingesterState == ring.PENDING || ingesterState == ring.JOINING { level.Info(logutil.WithContext(ctx, i.logger)).Log("msg", "TSDB blocks shipping has been skipped because of the current ingester state", "state", ingesterState)