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 341c129 commit 877d733Copy full SHA for 877d733
test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java
@@ -656,7 +656,7 @@ protected static void wipeDataStreams() throws IOException {
656
// Since the snapshots are shared within the cluster, another parallel run may delete all
657
// snapshots in the repository.
658
// For now we hack to prevent deletion of snapshots prefixed with "force_preserve"
659
- if (Version.CURRENT.onOrBefore(Version.V_2_1_0) && name.startsWith("force_preserve")) {
+ if (name.startsWith("force_preserve")) {
660
continue;
661
}
662
if (SnapshotState.valueOf((String) snapshotInfo.get("state")).completed() == false) {
0 commit comments