This commit is contained in:
nautaa 2021-12-14 19:40:35 +08:00
parent 0da3881ff4
commit 3469fb8165

View File

@ -1528,7 +1528,7 @@ void MergeTreeData::removePartsFinally(const MergeTreeData::DataPartsVector & pa
void MergeTreeData::flushAllInMemoryPartsIfNeeded()
{
if(getSettings()->in_memory_parts_enable_wal)
return ;
return;
auto metadata_snapshot = getInMemoryMetadataPtr();
DataPartsVector parts = getDataPartsVector();