parent
0dd79028c9
commit
2f011295ec
|
@ -124,7 +124,7 @@ public class TranslogStats implements Streamable, ToXContentFragment {
|
||||||
uncommittedOperations = numberOfOperations;
|
uncommittedOperations = numberOfOperations;
|
||||||
uncommittedSizeInBytes = translogSizeInBytes;
|
uncommittedSizeInBytes = translogSizeInBytes;
|
||||||
}
|
}
|
||||||
if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
|
if (in.getVersion().onOrAfter(Version.V_6_3_0)) {
|
||||||
earliestLastModifiedAge = in.readVLong();
|
earliestLastModifiedAge = in.readVLong();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ public class TranslogStats implements Streamable, ToXContentFragment {
|
||||||
out.writeVInt(uncommittedOperations);
|
out.writeVInt(uncommittedOperations);
|
||||||
out.writeVLong(uncommittedSizeInBytes);
|
out.writeVLong(uncommittedSizeInBytes);
|
||||||
}
|
}
|
||||||
if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
|
if (out.getVersion().onOrAfter(Version.V_6_3_0)) {
|
||||||
out.writeVLong(earliestLastModifiedAge);
|
out.writeVLong(earliestLastModifiedAge);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue