mirror of https://github.com/apache/lucene.git
don't let new merges start after finishMerges when closing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776877 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4c96b1738
commit
0769f8130a
|
@ -2069,6 +2069,7 @@ public class IndexWriter {
|
||||||
mergePolicy.close();
|
mergePolicy.close();
|
||||||
|
|
||||||
finishMerges(waitForMerges);
|
finishMerges(waitForMerges);
|
||||||
|
stopMerges = true;
|
||||||
|
|
||||||
mergeScheduler.close();
|
mergeScheduler.close();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue