File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/org/elasticsearch/index/shard Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public long getAverageSizeInBytes() {
7474 public void readFrom (StreamInput in ) throws IOException {
7575 count = in .readVLong ();
7676 deleted = in .readVLong ();
77- if (in .getVersion ().onOrAfter (Version .V_6_1_0 )) {
77+ if (in .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
7878 averageSizeInBytes = in .readVLong ();
7979 }
8080 }
@@ -83,7 +83,7 @@ public void readFrom(StreamInput in) throws IOException {
8383 public void writeTo (StreamOutput out ) throws IOException {
8484 out .writeVLong (count );
8585 out .writeVLong (deleted );
86- if (out .getVersion ().onOrAfter (Version .V_6_1_0 )) {
86+ if (out .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
8787 out .writeVLong (averageSizeInBytes );
8888 }
8989 }
You can’t perform that action at this time.
0 commit comments