Skip to content

Commit 410244b

Browse files
authored
Enable shuffle sharding in compactors (#51)
Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent 9cc367f commit 410244b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## master / unreleased
4+
* [CHANGE] Enable shuffle sharding in compactors
45
* [ENHANCEMENT] Configure `-ingester.client.grpc-compression` to be `snappy-block`
56

67
## 1.16.1

cortex/compactor.libsonnet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
// Enable sharding.
3232
'compactor.sharding-enabled': true,
33+
'compactor.sharding-strategy': 'shuffle-sharding',
34+
'compactor.tenant-shard-size': 1,
3335
'compactor.ring.store': 'consul',
3436
'compactor.ring.consul.hostname': 'consul.%s.svc.cluster.local:8500' % $._config.namespace,
3537
'compactor.ring.prefix': '',

0 commit comments

Comments
 (0)