mirror of https://github.com/apache/lucene.git
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:
parent
2f8192f3c5
commit
5ba92db7b7
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue