Introduce cluster.index.restrict.replication.type setting (#6028)
* Introduce cluster.index.restrict.replication.type setting Signed-off-by: Suraj Singh <surajrider@gmail.com> * Doc review Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Update _tuning-your-cluster/availability-and-recovery/segment-replication/index.md Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --------- Signed-off-by: Suraj Singh <surajrider@gmail.com> Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Fanit Kolchina <kolchfa@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower <nbower@amazon.com>
This commit is contained in:
parent
de8eb4ea77
commit
95a5f3e5a9
|
@ -85,6 +85,16 @@ cluster.indices.replication.strategy: 'SEGMENT'
|
|||
{% include copy.html %}
|
||||
|
||||
|
||||
### Enforcing cluster-level replication type
|
||||
|
||||
If enabled, the `cluster.index.restrict.replication.type` setting requires newly created indexes to have a replication type specified in the `cluster.indices.replication.strategy` cluster setting. Requests that specify a different replication type are rejected. If `cluster.index restrict.replication.type` is disabled, you can choose a replication type on a per-index basis by specifying it in the `index.replication.type` setting.
|
||||
|
||||
You can define the `cluster.index.restrict.replication.type` setting in the `opensearch.yml` file as follows:
|
||||
|
||||
```yaml
|
||||
cluster.index.restrict.replication.type: true
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
### Creating an index with document replication
|
||||
|
||||
|
|
Loading…
Reference in New Issue