File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/indices/recovery Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ public Translog(StreamInput in) throws IOException {
471471 recovered = in .readVInt ();
472472 total = in .readVInt ();
473473 totalOnStart = in .readVInt ();
474- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
474+ if (in .getVersion ().onOrAfter (Version .V_7_4_0 )) {
475475 totalLocal = in .readVInt ();
476476 }
477477 }
@@ -482,7 +482,7 @@ public void writeTo(StreamOutput out) throws IOException {
482482 out .writeVInt (recovered );
483483 out .writeVInt (total );
484484 out .writeVInt (totalOnStart );
485- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
485+ if (out .getVersion ().onOrAfter (Version .V_7_4_0 )) {
486486 out .writeVInt (totalLocal );
487487 }
488488 }
You can’t perform that action at this time.
0 commit comments