Skip to content

Commit

Permalink
Revert "Add setting to use document replication for system indices. (o…
Browse files Browse the repository at this point in the history
…pensearch-project#802)"

This reverts commit 55b6968.

Signed-off-by: monusingh-1 <[email protected]>
  • Loading branch information
monusingh-1 committed Aug 22, 2023
1 parent 81b37ba commit 969c141
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import org.opensearch.common.xcontent.LoggingDeprecationHandler
import org.opensearch.core.xcontent.NamedXContentRegistry
import org.opensearch.core.xcontent.ToXContent
import org.opensearch.core.xcontent.XContentParser
import org.opensearch.indices.replication.common.ReplicationType
import org.opensearch.replication.util.suspendExecuteWithRetries

class ReplicationMetadataStore constructor(val client: Client, val clusterService: ClusterService,
Expand Down Expand Up @@ -266,7 +265,6 @@ class ReplicationMetadataStore constructor(val client: Client, val clusterServic
.put(IndexMetadata.INDEX_AUTO_EXPAND_REPLICAS_SETTING.key, "0-1")
.put(IndexMetadata.INDEX_PRIORITY_SETTING.key, Int.MAX_VALUE)
.put(IndexMetadata.INDEX_HIDDEN_SETTING.key, true)
.put(IndexMetadata.INDEX_REPLICATION_TYPE_SETTING.key, ReplicationType.DOCUMENT) // System Indices should use Document Replication strategy
.build()
}

Expand Down

0 comments on commit 969c141

Please sign in to comment.