LUCENE-5544: disregard leftover events after rollback has finished

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2014-03-31 20:16:42 +00:00
parent 2f8192f3c5
commit 5ba92db7b7
1 changed files with 0 additions and 6 deletions

View File

@ -2085,7 +2085,6 @@ public class IndexWriter implements Closeable, TwoPhaseCommit{
rollbackInternal();
}
}
assert assertEventQueueAfterClose();
}
private void rollbackInternal() throws IOException {
@ -2180,11 +2179,6 @@ public class IndexWriter implements Closeable, TwoPhaseCommit{
}
closed = true;
closing = false;
try {
processEvents(false, true);
} finally {
notifyAll();
}
}
}
}