You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't simultaneously restart multiple nodes in a cluster. It causes data races when
multiple primaries are trying to mark the `[[.snapshot-blob-cache][0]]` shard as stale.
This backports #122919 to the 8.17 branch since we still get occasional test failures
related to it there.
Closes#127136
Co-authored-by: Artem Prigoda <[email protected]>
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/RetrySearchIntegTests.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ public void testSearcherId() throws Exception {
90
90
for (StringallocatedNode : allocatedNodes) {
91
91
if (randomBoolean()) {
92
92
internalCluster().restartNode(allocatedNode);
93
+
ensureGreen(indexName);
93
94
}
94
95
}
95
96
ensureGreen(indexName);
@@ -151,6 +152,7 @@ public void testRetryPointInTime() throws Exception {
0 commit comments