Skip to content

Commit

Permalink
Update serialization version after backport (#63848)
Browse files Browse the repository at this point in the history
Updates serialization version after the backport of #63847

Relates to #63575
  • Loading branch information
imotov authored Oct 19, 2020
1 parent 71aaa4a commit 6ab73cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public RateAggregationBuilder(StreamInput in) throws IOException {
} else {
rateUnit = null;
}
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
if (in.getVersion().onOrAfter(Version.V_7_11_0)) {
if (in.readBoolean()) {
rateMode = in.readEnum(RateMode.class);
}
Expand All @@ -101,7 +101,7 @@ protected void innerWriteTo(StreamOutput out) throws IOException {
} else {
out.writeByte((byte) 0);
}
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
if (out.getVersion().onOrAfter(Version.V_7_11_0)) {
if (rateMode != null) {
out.writeBoolean(true);
out.writeEnum(rateMode);
Expand Down

0 comments on commit 6ab73cd

Please sign in to comment.