We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0c7a5 commit f9055ecCopy full SHA for f9055ec
modules/elasticsearch/src/main/java/org/elasticsearch/gateway/local/LocalGatewayAllocator.java
@@ -151,7 +151,7 @@ public class LocalGatewayAllocator extends AbstractComponent implements GatewayA
151
int requiredAllocation = 1;
152
try {
153
IndexMetaData indexMetaData = routingNodes.metaData().index(shard.index());
154
- String initialShards = indexMetaData.settings().get("recovery.initial_shards", this.initialShards);
+ String initialShards = indexMetaData.settings().get("index.recovery.initial_shards", this.initialShards);
155
if ("quorum".equals(initialShards)) {
156
if (indexMetaData.numberOfReplicas() > 1) {
157
requiredAllocation = ((1 + indexMetaData.numberOfReplicas()) / 2) + 1;
0 commit comments