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 daf729f commit cb3fa9aCopy full SHA for cb3fa9a
server/src/main/java/org/opensearch/index/translog/TranslogStats.java
@@ -225,7 +225,7 @@ public Builder uncommittedSizeInBytes(long bytes) {
225
}
226
227
public Builder earliestLastModifiedAge(long age) {
228
- if (earliestLastModifiedAge < 0) {
+ if (age < 0) {
229
throw new IllegalArgumentException("earliestLastModifiedAge must be >= 0");
230
231
this.earliestLastModifiedAge = age;
0 commit comments