mirror of https://github.com/apache/lucene.git
LUCENE-2118: trigger new merges when we flush due to merging currently open doc stores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a6478136df
commit
2985250ece
|
@ -3828,6 +3828,7 @@ public class IndexWriter implements Closeable {
|
||||||
if (infoStream != null)
|
if (infoStream != null)
|
||||||
message("now flush at merge");
|
message("now flush at merge");
|
||||||
doFlush(true, false);
|
doFlush(true, false);
|
||||||
|
updatePendingMerges(1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
merge.increfDone = true;
|
merge.increfDone = true;
|
||||||
|
@ -4010,6 +4011,7 @@ public class IndexWriter implements Closeable {
|
||||||
if (infoStream != null)
|
if (infoStream != null)
|
||||||
message("now flush at mergeMiddle");
|
message("now flush at mergeMiddle");
|
||||||
doFlush(true, false);
|
doFlush(true, false);
|
||||||
|
updatePendingMerges(1, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue