You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ingesters shuffle sharding support on the read path (#3252)
* Added ingesters shuffle sharding support on the read path
Signed-off-by: Marco Pracucci <[email protected]>
* Committed broken test to signal there's an issue
Signed-off-by: Marco Pracucci <[email protected]>
* Fixed shuffle sharding consistency when zone-awareness is enabled and the shard size is increased or instances in a new zone are added
Signed-off-by: Marco Pracucci <[email protected]>
* Added ShuffleShardingIngestersLookbackPeriod validation
Signed-off-by: Marco Pracucci <[email protected]>
* Tiny getIngestersForQuery() optimisation
Signed-off-by: Marco Pracucci <[email protected]>
* Added unit tests on distributor changes
Signed-off-by: Marco Pracucci <[email protected]>
* Added integration test
Signed-off-by: Marco Pracucci <[email protected]>
* Fixed race in unit test
Signed-off-by: Marco Pracucci <[email protected]>
* Added CHANGELOG entry
Signed-off-by: Marco Pracucci <[email protected]>
* Removed ring.ByZoneAndAddr because unused
Signed-off-by: Marco Pracucci <[email protected]>
* Addressed review comments
Signed-off-by: Marco Pracucci <[email protected]>
* Fixed TestRing_ShuffleShardWithLookback_CorrectnessWithFuzzy after wrong rebase
Signed-off-by: Marco Pracucci <[email protected]>
* Fixed tests after rebase
Signed-off-by: Marco Pracucci <[email protected]>
* Added unit test on ReplicationSet.GetAddresses()
Signed-off-by: Marco Pracucci <[email protected]>
* Improved TestRing_ShuffleShardWithLookback
Signed-off-by: Marco Pracucci <[email protected]>
* Fixed TestRing_ShuffleShardWithLookback_CorrectnessWithFuzzy
Signed-off-by: Marco Pracucci <[email protected]>
* Increased unit tests timeout
Signed-off-by: Marco Pracucci <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,8 @@
48
48
*[CHANGE] Renamed `-<prefix>.redis.enable-tls` CLI flag to `-<prefix>.redis.tls-enabled`, and its respective YAML config option from `enable_tls` to `tls_enabled`. #3298
49
49
*[CHANGE] Increased default `-<prefix>.redis.timeout` from `100ms` to `500ms`. #3301
50
50
*[CHANGE]`cortex_alertmanager_config_invalid` has been removed in favor of `cortex_alertmanager_config_last_reload_successful`. #3289
51
-
*[FEATURE] Added support for shuffle-sharding queriers in the query-frontend. When configured (`-frontend.max-queriers-per-tenant` globally, or using per-tenant limit `max_queriers_per_tenant`), each tenants's requests will be handled by different set of queriers. #3113#3257
51
+
*[FEATURE] Shuffle sharding: added support for shuffle-sharding queriers in the query-frontend. When configured (`-frontend.max-queriers-per-tenant` globally, or using per-tenant limit `max_queriers_per_tenant`), each tenants's requests will be handled by different set of queriers. #3113#3257
52
+
*[FEATURE] Shuffle sharding: added support for shuffle-sharding ingesters on the read path. When ingesters shuffle-sharding is enabled and `-querier.shuffle-sharding-ingesters-lookback-period` is set, queriers will fetch in-memory series from the minimum set of required ingesters, selecting only ingesters which may have received series since 'now - lookback period'. #3252
52
53
*[FEATURE] Query-frontend: added `compression` config to support results cache with compression. #3217
53
54
*[ENHANCEMENT] Allow to specify multiple comma-separated Cortex services to `-target` CLI option (or its respective YAML config option). For example, `-target=all,compactor` can be used to start Cortex single-binary with compactor as well. #3275
54
55
*[ENHANCEMENT] Expose additional HTTP configs for the S3 backend client. New flag are listed below: #3244
@@ -92,6 +93,7 @@
92
93
*[BUGFIX] Use a valid grpc header when logging IP addresses. #3307
93
94
*[BUGFIX] Fixed the metric `cortex_prometheus_rule_group_duration_seconds` in the Ruler, it wouldn't report any values. #3310
94
95
*[BUGFIX] Fixed gRPC connections leaking in rulers when rulers sharding is enabled and APIs called. #3314
96
+
*[BUGFIX] Fixed shuffle sharding consistency when zone-awareness is enabled and the shard size is increased or instances in a new zone are added. #3299
0 commit comments