mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 21:38:15 +00:00
testCorruptionOnNetworkLayerFinalizingRecovery should keep on trying to assign replicas
In rare cases it can reach the limit set by index.allocation.max_retries
This commit is contained in:
parent
f74a78940c
commit
38bee27b11
@ -332,6 +332,7 @@ public class CorruptedFileIT extends ESIntegTestCase {
|
||||
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
|
||||
.put("index.routing.allocation.include._name", primariesNode.getNode().getName())
|
||||
.put(EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING.getKey(), EnableAllocationDecider.Rebalance.NONE)
|
||||
.put("index.allocation.max_retries", Integer.MAX_VALUE) // keep on retrying
|
||||
|
||||
));
|
||||
ensureGreen(); // allocated with empty commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user