mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Made mutation to choose the same disk in ReplicatedMergeTree
.
This commit is contained in:
parent
0d2a2c332f
commit
f44cee623a
@ -1139,7 +1139,7 @@ bool StorageReplicatedMergeTree::tryExecutePartMutation(const StorageReplicatedM
|
||||
MutationCommands commands = queue.getMutationCommands(source_part, new_part_info.mutation);
|
||||
|
||||
/// Can throw an exception.
|
||||
DiskSpace::ReservationPtr reserved_space = reserveSpace(estimated_space_for_result);
|
||||
DiskSpace::ReservationPtr reserved_space = source_part->disk->reserveSpace(estimated_space_for_result);
|
||||
|
||||
auto table_lock = lockStructureForShare(false, RWLockImpl::NO_QUERY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user