mirror of https://github.com/apache/lucene.git
during flush, log to infoStream size of all DWPTs considered for flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595532 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7aeac4f07b
commit
b921031030
|
@ -119,6 +119,9 @@ abstract class FlushPolicy implements Cloneable {
|
|||
if (!next.flushPending) {
|
||||
final long nextRam = next.bytesUsed;
|
||||
if (nextRam > 0 && next.dwpt.getNumDocsInRAM() > 0) {
|
||||
if (infoStream.isEnabled("FP")) {
|
||||
infoStream.message("FP", "thread state has " + nextRam + " bytes; docInRAM=" + next.dwpt.getNumDocsInRAM());
|
||||
}
|
||||
count++;
|
||||
if (nextRam > maxRamSoFar) {
|
||||
maxRamSoFar = nextRam;
|
||||
|
|
Loading…
Reference in New Issue