Segment replication configuration
To enable the segment replication type, reference the steps below.
There are several methods for enabling segment replication, depending on the install type. You will also need to set the replication strategy to when creating the index.
Option 1: Update config/jvm.options by adding the following line:
Option 2: Use the environment variable:
If you’re running Docker, add the following line to docker-compose.yml underneath the opensearch-node
and section:
To set the replication strategy to segment replication, create an index with replication.type set to SEGMENT
:
Known limitations
- Enabling segment replication for an existing index requires .
- Rolling upgrades are currently not supported. Full cluster restarts are required when upgrading indexes using segment replication. Issue 3881.
- Increased network congestion on primary shards. .
- Shard allocation algorithms have not been updated to evenly spread primary shards across nodes.
- Integration with remote-backed storage as the source of replication is currently unsupported.
- Known issues.
- Steps for testing (link coming soon).