mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
cleanup partition after moving it
This commit is contained in:
parent
8920f36d96
commit
a47f0b1a60
@ -1234,6 +1234,9 @@ void StorageMergeTree::movePartitionTo(const StoragePtr & dest_table, const ASTP
|
||||
removePartsFromWorkingSet(src_parts, true, data_parts_lock);
|
||||
}
|
||||
|
||||
clearOldMutations(true);
|
||||
clearOldPartsFromFilesystem();
|
||||
|
||||
PartLog::addNewParts(global_context, dst_parts, watch.elapsed());
|
||||
}
|
||||
catch (...)
|
||||
|
Loading…
Reference in New Issue
Block a user