lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1583439 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
Date Mon, 31 Mar 2014 20:16:43 GMT
Author: mikemccand
Date: Mon Mar 31 20:16:42 2014
New Revision: 1583439

URL: http://svn.apache.org/r1583439
Log:
LUCENE-5544: disregard leftover events after rollback has finished

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

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java?rev=1583439&r1=1583438&r2=1583439&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java Mon Mar
31 20:16:42 2014
@@ -2085,7 +2085,6 @@ public class IndexWriter implements Clos
         rollbackInternal();
       }
     }
-    assert assertEventQueueAfterClose();
   }
 
   private void rollbackInternal() throws IOException {
@@ -2180,11 +2179,6 @@ public class IndexWriter implements Clos
         }
         closed = true;
         closing = false;
-        try {
-          processEvents(false, true);
-        } finally {
-          notifyAll();
-        }
       }
     }
   }



Mime
View raw message