diff --git a/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java b/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java index 15df8ac821954..180032bfb621f 100644 --- a/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java +++ b/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java @@ -787,7 +787,6 @@ public void handleRecoveryDone(ReplicationState state, ShardRouting shardRouting // For Segment Replication enabled indices, we want replica shards to start a replication event to fetch latest segments before it // is marked as Started. if (indexShard != null - && indexShard.indexSettings().isSegRepEnabled() && shardRouting.primary() == false && shardRouting.state() == ShardRoutingState.INITIALIZING && indexShard.state() == IndexShardState.POST_RECOVERY) {