Skip to content

Commit

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

This reverts commit 55b6968.

Signed-off-by: monusingh-1 <[email protected]>
(cherry picked from commit 9750b78)

Co-authored-by: Monu Singh <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and monusingh-1 authored Aug 22, 2023
1 parent 63db826 commit 22f41f9
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 22f41f9

Please sign in to comment.