mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge branch 'merge_tree_part_block_number' of git://github.com/ahrefs/ClickHouse into merge_21760
This commit is contained in:
commit
8a56d04714
@ -1389,7 +1389,7 @@ void StorageMergeTree::movePartitionToTable(const StoragePtr & dest_table, const
|
||||
DataPartsLock lock(mutex);
|
||||
|
||||
for (MutableDataPartPtr & part : dst_parts)
|
||||
dest_table_storage->renameTempPartAndReplace(part, &increment, &transaction, lock);
|
||||
dest_table_storage->renameTempPartAndReplace(part, &dest_table_storage->increment, &transaction, lock);
|
||||
|
||||
removePartsFromWorkingSet(src_parts, true, lock);
|
||||
transaction.commit(&lock);
|
||||
|
Loading…
Reference in New Issue
Block a user