From a4aee4f4ff494b525f68c9c6c1ae3417a8e61ebe Mon Sep 17 00:00:00 2001 From: Cyril Tovena Date: Fri, 20 Sep 2024 16:25:52 +0200 Subject: [PATCH] fix: Wait for OwnedStreams service in Ingester startup (#14208) --- pkg/ingester/ingester.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingester/ingester.go b/pkg/ingester/ingester.go index 81c3c1a68350a..4e7ac11f515c0 100644 --- a/pkg/ingester/ingester.go +++ b/pkg/ingester/ingester.go @@ -573,7 +573,7 @@ func (i *Ingester) starting(ctx context.Context) error { return fmt.Errorf("can not start recalculate owned streams service: %w", err) } - err = i.lifecycler.AwaitRunning(ctx) + err = i.recalculateOwnedStreams.AwaitRunning(ctx) if err != nil { return fmt.Errorf("can not ensure recalculate owned streams service is running: %w", err) }