mirror of
https://github.com/apache/lucene.git
synced 2025-02-23 02:35:02 +00:00
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) {
|
||||||
message(" too many merges; stalling...");
|
startStallTime = System.currentTimeMillis();
|
||||||
|
if (verbose()) {
|
||||||
|
message(" too many merges; stalling...");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
startStallTime = System.currentTimeMillis();
|
|
||||||
doStall();
|
doStall();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user