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 @@ -82,7 +82,7 @@ public long getAverageSizeInBytes() {
8282 public void readFrom (StreamInput in ) throws IOException {
8383 count = in .readVLong ();
8484 deleted = in .readVLong ();
85- if (in .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
85+ if (in .getVersion ().onOrAfter (Version .V_6_1_0 )) {
8686 totalSizeInBytes = in .readVLong ();
8787 } else {
8888 totalSizeInBytes = -1 ;
@@ -93,7 +93,7 @@ public void readFrom(StreamInput in) throws IOException {
9393 public void writeTo (StreamOutput out ) throws IOException {
9494 out .writeVLong (count );
9595 out .writeVLong (deleted );
96- if (out .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
96+ if (out .getVersion ().onOrAfter (Version .V_6_1_0 )) {
9797 out .writeVLong (totalSizeInBytes );
9898 }
9999 }
You can’t perform that action at this time.
0 commit comments