|
@@ -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);
|
|
|
}
|