We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a381d98 commit f38e957Copy full SHA for f38e957
1 file changed
core/src/main/java/org/elasticsearch/index/shard/DocsStats.java
@@ -74,7 +74,7 @@ public long getAverageSizeInBytes() {
74
public void readFrom(StreamInput in) throws IOException {
75
count = in.readVLong();
76
deleted = in.readVLong();
77
- if (in.getVersion().onOrAfter(Version.V_6_1_0)) {
+ if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
78
averageSizeInBytes = in.readVLong();
79
}
80
@@ -83,7 +83,7 @@ public void readFrom(StreamInput in) throws IOException {
83
public void writeTo(StreamOutput out) throws IOException {
84
out.writeVLong(count);
85
out.writeVLong(deleted);
86
- if (out.getVersion().onOrAfter(Version.V_6_1_0)) {
+ if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) {
87
out.writeVLong(averageSizeInBytes);
88
89
0 commit comments