Skip to content

feat(ha): Add per-tenant configurable failover timeout#7481

Open
yeya24 wants to merge 1 commit intocortexproject:masterfrom
yeya24:ha-failover-timeout-per-tenant
Open

feat(ha): Add per-tenant configurable failover timeout#7481
yeya24 wants to merge 1 commit intocortexproject:masterfrom
yeya24:ha-failover-timeout-per-tenant

Conversation

@yeya24
Copy link
Copy Markdown
Contributor

@yeya24 yeya24 commented May 6, 2026

Add a per-tenant runtime override for the HA tracker failover timeout via the ha_tracker_failover_timeout field in the limits config (flag: -distributor.ha-tracker.failover-timeout-override). When set to a non-zero value for a tenant, it overrides the global -distributor.ha-tracker.failover-timeout.

This allows operators to configure different failover timeouts for different tenants based on their HA setup requirements.

What this PR does:

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Add a per-tenant runtime override for the HA tracker failover timeout via
the ha_tracker_failover_timeout field in the limits config (flag:
-distributor.ha-tracker.failover-timeout-override). When set to a non-zero
value for a tenant, it overrides the global -distributor.ha-tracker.failover-timeout.

This allows operators to configure different failover timeouts for different
tenants based on their HA setup requirements.

Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 force-pushed the ha-failover-timeout-per-tenant branch from c202aa9 to 5ce8f5f Compare May 6, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant