Skip to content

Commit

Permalink
Move BWC Version to 7.1.0 after backport
Browse files Browse the repository at this point in the history
Relates to #39512
  • Loading branch information
s1monw committed Mar 5, 2019
1 parent 73d4516 commit 977c354
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public CommonStatsFlags(StreamInput in) throws IOException {
fieldDataFields = in.readStringArray();
completionDataFields = in.readStringArray();
includeSegmentFileSizes = in.readBoolean();
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
if (in.getVersion().onOrAfter(Version.V_7_1_0)) {
includeUnloadedSegments = in.readBoolean();
}
}
Expand All @@ -82,7 +82,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeStringArrayNullable(fieldDataFields);
out.writeStringArrayNullable(completionDataFields);
out.writeBoolean(includeSegmentFileSizes);
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
if (out.getVersion().onOrAfter(Version.V_7_1_0)) {
out.writeBoolean(includeUnloadedSegments);
}
}
Expand Down

0 comments on commit 977c354

Please sign in to comment.