Skip to content

Commit a338024

Browse files
committed
aaa
Signed-off-by: Ben Ye <benye@amazon.com>
1 parent dbe196c commit a338024

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/blocks-storage/store-gateway.template

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,20 @@ The store-gateway supports two sharding strategies:
5454

5555
- `default`
5656
- `shuffle-sharding`
57+
- `zone-stable-shuffle-sharding`
5758

5859
The **`default`** sharding strategy spreads the blocks of each tenant across all store-gateway instances. It's the easiest form of sharding supported, but doesn't provide any workload isolation between different tenants.
5960

6061
The **`shuffle-sharding`** strategy spreads the blocks of a tenant across a subset of store-gateway instances. This way, the number of store-gateway instances loading blocks of a single tenant is limited and the blast radius of any issue that could be introduced by the tenant's workload is limited to its shard instances.
6162

6263
The shuffle sharding strategy can be enabled via `-store-gateway.sharding-strategy=shuffle-sharding` and requires the `-store-gateway.tenant-shard-size` flag (or their respective YAML config options) to be set to the default shard size, which is the default number of store-gateway instances each tenant should be sharded to. The shard size can then be overridden on a per-tenant basis setting the `store_gateway_tenant_shard_size` in the limits overrides.
6364

65+
The **`zone-stable-shuffle-sharding`** strategy achieves the same as the **`shuffle-sharding`** strategy, but using a different sharding algorithm. The new sharding algorithm ensures that when zone awareness is enabled, when shard size increases or decreases by one, the replicas for any block should only change at most by one instance. This is important for querying store gateway because a block can be retried at most 3 times.
66+
67+
Zone stable shuffle sharding can be enabled via `-store-gateway.sharding-ring.zone-stable-shuffle-sharding` CLI flag.
68+
69+
It will become the default shuffle sharding strategy for store gateway in `v1.17.0` release and the previous shuffle sharding algorithm will be removed in `v1.18.0` release.
70+
6471
_Please check out the [shuffle sharding documentation](../guides/shuffle-sharding.md) for more information about how it works._
6572

6673
### Auto-forget

0 commit comments

Comments
 (0)