lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r776877 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Date Wed, 20 May 2009 21:54:35 GMT
Author: mikemccand
Date: Wed May 20 21:54:35 2009
New Revision: 776877

URL: http://svn.apache.org/viewvc?rev=776877&view=rev
Log:
don't let new merges start after finishMerges when closing

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java?rev=776877&r1=776876&r2=776877&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Wed May 20 21:54:35
2009
@@ -2069,6 +2069,7 @@
       mergePolicy.close();
 
       finishMerges(waitForMerges);
+      stopMerges = true;
 
       mergeScheduler.close();
 



Mime
View raw message