Skip to content
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

fix(query): enforce legacy failover when needed #1936

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

kvpetrov
Copy link
Contributor

Pull Request checklist

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

Current behavior :
If shard level failover is enabled but is not required, ie the local cluster is not healthy but the remote cluster is healthy we switch to legacy failover when promql is issued to the buddy cluster. However, the query context parameters still have shard level failover flag enabled that does not allow to properly resolve shards.

New behavior :
When legacy failover is enabled the query context parameter is set to "legacy".

BREAKING CHANGES

n/a

@kvpetrov kvpetrov merged commit ad908b4 into filodb:develop Jan 21, 2025
1 check passed
kvpetrov added a commit to kvpetrov/FiloDB that referenced this pull request Jan 21, 2025
@kvpetrov kvpetrov changed the title query(fix): enforce legacy failover when needed fix(query): enforce legacy failover when needed Jan 22, 2025
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

Successfully merging this pull request may close these issues.

2 participants