[Feature Request] Make segment replication the default for 3.0 #17162
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing:Replication
Issues and PRs related to core replication framework eg segrep
untriaged
Is your feature request related to a problem? Please describe
Segment replication was introduced in the 2.x line as an alternative to document replication. It can offer substantial performance benefits by reducing the amount of CPU-intensive indexing work that has to happen on the cluster.
Describe the solution you'd like
The default indexing method for new indexes in 3.0+ versions of OpenSearch should be
SEGMENT
instead ofDOCUMENT
.Related component
Indexing:Replication
Describe alternatives you've considered
Do nothing; keep document replication as the default.
Additional context
Segment replication is the only option when using remote store and is being used by remote store-based offerings of Amazon OpenSearch Service. However, the node-to-node variant of segment replication likely has less real world production usage. Some things to consider before making this change are:
wait_for=refresh
are weird today. With document replication that means your write will be searchable after the index call completes. With segment replication it means the write will be searchable on the primary shard only, not replicas.The text was updated successfully, but these errors were encountered: