Skip to content

Commit

Permalink
Enable shuffle sharding in compactors (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Friedrich Gonzalez <[email protected]>
  • Loading branch information
friedrichg authored May 13, 2024
1 parent 9cc367f commit 410244b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

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

## 1.16.1
Expand Down
2 changes: 2 additions & 0 deletions cortex/compactor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

// Enable sharding.
'compactor.sharding-enabled': true,
'compactor.sharding-strategy': 'shuffle-sharding',
'compactor.tenant-shard-size': 1,
'compactor.ring.store': 'consul',
'compactor.ring.consul.hostname': 'consul.%s.svc.cluster.local:8500' % $._config.namespace,
'compactor.ring.prefix': '',
Expand Down

0 comments on commit 410244b

Please sign in to comment.