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:
Michael McCandless 2010-08-07 21:48:04 +00:00
parent a6478136df
commit 2985250ece
1 changed files with 2 additions and 0 deletions

View File

@ -3828,6 +3828,7 @@ public class IndexWriter implements Closeable {
if (infoStream != null)
message("now flush at merge");
doFlush(true, false);
updatePendingMerges(1, false);
}
merge.increfDone = true;
@ -4010,6 +4011,7 @@ public class IndexWriter implements Closeable {
if (infoStream != null)
message("now flush at mergeMiddle");
doFlush(true, false);
updatePendingMerges(1, false);
}
}