File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
server/src/main/java/org/opensearch/index/store/remote/filecache Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,7 @@ public FileCacheStats(final StreamInput in) throws IOException {
8080 this .evicted = in .readLong ();
8181 this .hits = in .readLong ();
8282
83- // Version guard for enhanced fields - backward compatibility for rolling upgrades
84- if (in .getVersion ().onOrAfter (Version .V_3_3_0 )) {
83+ if (in .getVersion ().onOrAfter (Version .V_3_4_0 )) {
8584 this .removed = in .readLong ();
8685 this .misses = in .readLong ();
8786 } else {
@@ -100,8 +99,7 @@ public void writeTo(final StreamOutput out) throws IOException {
10099 out .writeLong (evicted );
101100 out .writeLong (hits );
102101
103- // Version guard for enhanced fields - backward compatibility for rolling upgrades
104- if (out .getVersion ().onOrAfter (Version .V_3_3_0 )) {
102+ if (out .getVersion ().onOrAfter (Version .V_3_4_0 )) {
105103 out .writeLong (removed );
106104 out .writeLong (misses );
107105 }
You can’t perform that action at this time.
0 commit comments