mirror of https://github.com/apache/lucene.git
LUCENE-9683: fix incorrect logic for measuring stall time information. (#2225)
This commit is contained in:
parent
89456686ed
commit
4da8f08c63
|
@ -598,10 +598,12 @@ public class ConcurrentMergeScheduler extends MergeScheduler {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose() && startStallTime == 0) {
|
if (startStallTime == 0) {
|
||||||
|
startStallTime = System.currentTimeMillis();
|
||||||
|
if (verbose()) {
|
||||||
message(" too many merges; stalling...");
|
message(" too many merges; stalling...");
|
||||||
}
|
}
|
||||||
startStallTime = System.currentTimeMillis();
|
}
|
||||||
doStall();
|
doStall();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue