Skip to content

Commit

Permalink
fix: Wait for OwnedStreams service in Ingester startup (#14208)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena authored Sep 20, 2024
1 parent cdf084f commit a4aee4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ingester/ingester.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit a4aee4f

Please sign in to comment.