Merge pull request #41699 from ClickHouse/tavplubix-patch-5

Check if part mutation is cancelled
This commit is contained in:
Alexander Tokmakov 2022-09-23 15:46:28 +03:00 committed by GitHub
commit 0eeb2de074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1467,6 +1467,8 @@ bool MutateTask::execute()
}
case State::NEED_EXECUTE:
{
MutationHelpers::checkOperationIsNotCanceled(*ctx->merges_blocker, ctx->mutate_entry);
if (task->executeStep())
return true;