Merge pull request #11520 from dillaman/wip-17590

journal: do not prematurely flag object recorder as closed
This commit is contained in:
Venky Shankar 2016-10-20 14:56:50 +05:30 committed by GitHub
commit e5bed548e8

View File

@ -173,7 +173,7 @@ bool ObjectRecorder::close() {
assert(!m_object_closed);
m_object_closed = true;
return m_in_flight_tids.empty() && !m_aio_scheduled;
return (m_in_flight_tids.empty() && !m_in_flight_flushes && !m_aio_scheduled);
}
void ObjectRecorder::handle_append_task() {