mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
Add chassert
This commit is contained in:
parent
1264b5337e
commit
82da2d56e9
@ -663,6 +663,7 @@ void StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(
|
||||
/// they will happen on each replica, so we can check only in-memory info.
|
||||
auto mutation_status = queue.getIncompleteMutationsStatus(mutation_id, &mutation_ids);
|
||||
checkMutationStatus(mutation_status, mutation_ids);
|
||||
chassert(mutation_status.is_done);
|
||||
}
|
||||
|
||||
if (!inactive_replicas.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user