Merge pull request #32209 from ClickHouse/kssenii-patch-3

Fix flacky fileLog test (probably)
This commit is contained in:
Kseniia Sumarokova 2021-12-03 22:53:12 +03:00 committed by GitHub
commit 7984b246ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,12 +54,12 @@ FileLogSource::~FileLogSource()
{
tryLogCurrentException(__PRETTY_FUNCTION__);
}
storage.reduceStreams();
}
void FileLogSource::onFinish()
{
storage.closeFilesAndStoreMeta(start, end);
storage.reduceStreams();
finished = true;
}