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:
Simon Willnauer 2011-04-14 19:48:35 +00:00
parent db1270e5f7
commit 9faf9d9c35
1 changed files with 1 additions and 1 deletions

View File

@ -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 {