Skip to content

Commit e095205

Browse files
committed
rerun for flaky tests
Signed-off-by: tanishq ranjan <[email protected]>
1 parent 9b57915 commit e095205

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

server/src/main/java/org/opensearch/index/store/remote/filecache/FileCacheStats.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)