Browse Source

[Transform ] reenable BWC after backport (#54061)

finish and reenable BWC after backport of #54027
Hendrik Muhs 5 years ago
parent
commit
077ffa235c

+ 2 - 2
build.gradle

@@ -222,8 +222,8 @@ task verifyVersions {
  * after the backport of the backcompat code is complete.
  */
 
-boolean bwc_tests_enabled = false
-final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/54027" /* place a PR link here when committing bwc changes */
+boolean bwc_tests_enabled = true
+final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
 if (bwc_tests_enabled == false) {
   if (bwc_tests_disabled_issue.isEmpty()) {
     throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")

+ 2 - 2
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/indexing/IndexerJobStats.java

@@ -73,7 +73,7 @@ public abstract class IndexerJobStats implements ToXContentObject, Writeable {
         this.indexFailures = in.readVLong();
         this.searchFailures = in.readVLong();
 
-        if (in.getVersion().onOrAfter(Version.V_8_0_0)) { // todo V_7_7_0
+        if (in.getVersion().onOrAfter(Version.V_7_7_0)) {
             this.processingTime = in.readVLong();
             this.processingTotal = in.readVLong();
         }
@@ -194,7 +194,7 @@ public abstract class IndexerJobStats implements ToXContentObject, Writeable {
         out.writeVLong(searchTotal);
         out.writeVLong(indexFailures);
         out.writeVLong(searchFailures);
-        if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
+        if (out.getVersion().onOrAfter(Version.V_7_7_0)) {
             out.writeVLong(processingTime);
             out.writeVLong(processingTotal);
         }