We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46ed7a commit da417ceCopy full SHA for da417ce
server/src/main/java/org/elasticsearch/index/store/StoreFileMetadata.java
@@ -141,6 +141,11 @@ public boolean isSame(StoreFileMetadata other) {
141
// we can't tell if either or is null so we return false in this case! this is why we don't use equals for this!
142
return false;
143
}
144
+
145
+ if (hashEqualsContents()) {
146
+ return hash.equals(other.hash);
147
+ }
148
149
if (writerUuid.length > 0 && other.writerUuid.length > 0) {
150
// if the writer ID is missing on one of the files then we ignore this field and just rely on the checksum and hash, but if
151
// it's present on both files then it must be identical
0 commit comments