mirror of https://github.com/apache/lucene.git
fixed assert location
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1092478 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db1270e5f7
commit
9faf9d9c35
|
@ -528,13 +528,13 @@ final class DocumentsWriter {
|
|||
}
|
||||
|
||||
final void finishFullFlush(boolean success) {
|
||||
assert setFlushingDeleteQueue(null);
|
||||
if (success) {
|
||||
// release the flush lock
|
||||
flushControl.finishFullFlush();
|
||||
} else {
|
||||
flushControl.abortFullFlushes();
|
||||
}
|
||||
assert setFlushingDeleteQueue(null);
|
||||
}
|
||||
|
||||
static final class FlushTicket {
|
||||
|
|
Loading…
Reference in New Issue