[BUG] Index creation fails when index.replication.type is not mentioned while cluster setting cluster.remote_store.enabled is true #9249
Labels
bug
Something isn't working
Storage:Durability
Issues and PRs related to the durability framework
Storage
Issues and PRs relating to data and metadata storage
v2.10.0
Describe the bug
As the title says, the index creation in a remote store enabled cluster fails when the
index.replication.type
is not mentioned. The index.replication.type index setting is implied to beSEGMENT
whencluster.remote_store.enabled
is set to true inopensearch.yml
before the bootstrap.Response when we try to create an index without specifying
index.replication.type
on a remote enabled cluster -To Reproduce
Steps 1 - Update the
opensearch.yml
with below settings -cluster.remote_store.enabled=true
cluster.remote_store.segment.repository=<valid_repo>
cluster.remote_store.translog.repository=<valid_repo>
Step 2 - Register the <valid_repo> as mentioned in above step.
Step 3 - Create index as mentioned in Describe the bug section.
Expected behavior
The index creation should pick the
SEGMENT
replication implicitly and not fail index creation.Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: