mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
parent
5de8a8e776
commit
be5ef666ba
@ -4672,7 +4672,7 @@ void MergeTreeData::movePartitionToVolume(const ASTPtr & partition, const String
|
||||
case MovePartsOutcome::MovesAreCancelled:
|
||||
throw Exception(ErrorCodes::ABORTED, "Cannot move parts because moves are manually disabled");
|
||||
case MovePartsOutcome::NothingToMove:
|
||||
throw Exception(ErrorCodes::NO_SUCH_DATA_PART, "No parts to move found in partition {}", partition_id);
|
||||
throw Exception(ErrorCodes::NO_SUCH_DATA_PART, "No parts to move are found in partition {}", partition_id);
|
||||
case MovePartsOutcome::MoveWasPostponedBecauseOfZeroCopy:
|
||||
throw Exception(ErrorCodes::PART_IS_TEMPORARILY_LOCKED, "Move was not finished, because zero copy mode enabled and someone other moving the same parts right now");
|
||||
case MovePartsOutcome::PartsMoved:
|
||||
|
Loading…
Reference in New Issue
Block a user