Ver código fonte

Adjust versions after backport (#54875)

This commit adjusts some versions on master now searchable 
snapshots has been backported to 7.x in #54825.
Tanguy Leroux 5 anos atrás
pai
commit
3f5b2e88f8

+ 2 - 2
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/DeleteAction.java

@@ -50,7 +50,7 @@ public class DeleteAction implements LifecycleAction {
     }
 
     public DeleteAction(StreamInput in) throws IOException {
-        if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
+        if (in.getVersion().onOrAfter(Version.V_7_8_0)) {
             this.deleteSearchableSnapshot = in.readBoolean();
         } else {
             this.deleteSearchableSnapshot = true;
@@ -59,7 +59,7 @@ public class DeleteAction implements LifecycleAction {
 
     @Override
     public void writeTo(StreamOutput out) throws IOException {
-        if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
+        if (out.getVersion().onOrAfter(Version.V_7_8_0)) {
             out.writeBoolean(deleteSearchableSnapshot);
         }
     }

+ 2 - 2
x-pack/plugin/searchable-snapshots/qa/rest/src/test/resources/rest-api-spec/test/clear_cache.yml

@@ -67,8 +67,8 @@ teardown:
 ---
 "Clear searchable snapshots cache":
   - skip:
-      version: " - 7.99.99"
-      reason:  searchable snapshots introduced in 8.0
+      version: " - 7.7.99"
+      reason:  searchable snapshots introduced in 7.8.0
 
   - do:
       catch: missing

+ 2 - 2
x-pack/plugin/searchable-snapshots/qa/rest/src/test/resources/rest-api-spec/test/stats.yml

@@ -66,8 +66,8 @@ teardown:
 ---
 "Tests searchable snapshots stats":
   - skip:
-      version: " - 7.99.99"
-      reason:  searchable snapshots introduced in 8.0
+      version: " - 7.7.99"
+      reason:  searchable snapshots introduced in 7.8.0
 
   - do:
       catch: missing