Skip to content

Possible gaps when querying ingesters and -distributor.shard-by-all-labels is disabled #3322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
pracucci opened this issue Oct 12, 2020 · 4 comments
Closed
2 tasks done

Comments

@pracucci
Copy link
Contributor

Describe the bug
This is not a bug we experienced (because we run Cortex with -distributor.shard-by-all-labels=true) but while working on #3252 I realised this could be an issue for specific Cortex setups.

When Cortex is running with WAL enabled (chunks and blocks storage) and transfers on shutdown are disabled during ingesters rollout and -distributor.shard-by-all-labels=false (default) there may be gaps when querying series/samples from ingesters because:

  1. There will be series spillover during rollout
  2. Queriers always query ingesters currently holding the tokens, but some series/samples may be in different ingesters due to the spillover

A similar scenario may occur during ingesters scale up even if transfers on shutdown are enabled. Generally speaking, this issue could occur whenever there's a ring topology change.

Storage Engine

  • Blocks
  • Chunks
@roidelapluie
Copy link
Contributor

Duplicate of #3294 - which maybe the title is not correct

@roidelapluie
Copy link
Contributor

And #731

@stale
Copy link

stale bot commented Dec 11, 2020

This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 11, 2020
@pracucci
Copy link
Contributor Author

Closing because it's a duplicate of #3294.

@stale stale bot removed the stale label Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants