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 680868e commit 779eaceCopy full SHA for 779eace
server/src/main/java/org/elasticsearch/index/engine/ThreadPoolMergeScheduler.java
@@ -272,7 +272,7 @@ public boolean isRunning() {
272
273
@Override
274
public void doRun() throws Exception {
275
- if (!mergeStartTimeNS.compareAndSet(0L, System.nanoTime())) {
+ if (mergeStartTimeNS.compareAndSet(0L, System.nanoTime()) == false) {
276
throw new IllegalStateException("Cannot run the same merge task multiple times");
277
}
278
try {
0 commit comments