full-cluster-restart tests: prevent shards from going inactive
FullClusterRestartIT.testRecovery relies on the translogs not being flushed
@@ -48,6 +48,10 @@ for (Version version : indexCompatVersions) {
numBwcNodes = 2
numNodes = 2
clusterName = 'full-cluster-restart'
+
+ // some tests rely on the translog not being flushed
+ setting 'indices.memory.shard_inactive_time', '20m'
+
if (version.onOrAfter('5.3.0')) {
setting 'http.content_type.required', 'true'
}
@@ -64,6 +68,10 @@ for (Version version : indexCompatVersions) {
"${baseName}#oldClusterTestCluster#node1.stop"
distribution = 'zip'
clusterName = 'full-cluster-restart'
+
+ // some tests rely on the translog not being flushed
+ setting 'indices.memory.shard_inactive_time', '20m'
+
numNodes = 2
dataDir = { nodeNum -> oldClusterTest.nodes[nodeNum].dataDir }
cleanShared = false // We want to keep snapshots made by the old cluster!
