-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow dynamic replication set of TSDB blocks on store-gateways (#10382)
* Allow expanded replication set of TSDB blocks on store-gateways This change adds a tenant-specific setting to allow a subset of TSDB blocks to be replicated to more than the configured replication factor (three by default) on store-gateways. * mimir-microservices-mode: Use default store-gateway replication factor * Add grace period to expanded replication time range Much like how block uploads have a grace period, add a grace period when querying with expanded replication to make sure store-gateways have enough time to load blocks before they are queried. Signed-off-by: Nick Pillitteri <[email protected]> * Code review feedback Signed-off-by: Nick Pillitteri <[email protected]> * Apply grace period to max time _and_ upload time. Signed-off-by: Nick Pillitteri <[email protected]> * Don't check upload time in expanded replication Upload time is checked (and blocks within a grace period are ignored) by the query consistency check. Signed-off-by: Nick Pillitteri <[email protected]> * Code review changes Apply grace period to sync instead of querying Signed-off-by: Nick Pillitteri <[email protected]> * Rename feature to "dynamic_replication" Signed-off-by: Nick Pillitteri <[email protected]> * Fix comment about how grace period works Signed-off-by: Nick Pillitteri <[email protected]> * Update comments about dynamic replication grace period Signed-off-by: Nick Pillitteri <[email protected]> * Update to latest dskit commit Signed-off-by: Nick Pillitteri <[email protected]> * Switch to latest dskit main Pulls in grafana/dskit#632 Signed-off-by: Nick Pillitteri <[email protected]> * Code review changes Signed-off-by: Nick Pillitteri <[email protected]> --------- Signed-off-by: Nick Pillitteri <[email protected]>
- Loading branch information
1 parent
ce9463e
commit 4e7cea0
Showing
27 changed files
with
739 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.