Skip to content

Commit

Permalink
test: disable serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu-S committed Jul 11, 2024
1 parent c475797 commit b902e40
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public CommonStatsFlags(StreamInput in) throws IOException {
includeCaches = in.readEnumSet(CacheType.class);
levels = in.readStringArray();
}
if (in.getVersion().onOrAfter(Version.V_2_16_0)) {
optimizeNodeIndicesStatsOnLevel = in.readBoolean();
}
// if (in.getVersion().onOrAfter(Version.V_2_16_0)) {
// optimizeNodeIndicesStatsOnLevel = in.readBoolean();
// }
}

@Override
Expand All @@ -128,9 +128,9 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeEnumSet(includeCaches);
out.writeStringArrayNullable(levels);
}
if (out.getVersion().onOrAfter(Version.V_2_16_0)) {
out.writeBoolean(optimizeNodeIndicesStatsOnLevel);
}
// if (out.getVersion().onOrAfter(Version.V_2_16_0)) {
// out.writeBoolean(optimizeNodeIndicesStatsOnLevel);
// }
}

/**
Expand Down

0 comments on commit b902e40

Please sign in to comment.