mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Review
This commit is contained in:
parent
97e0e5fc9c
commit
ee5d8c0a27
@ -534,7 +534,7 @@ void StorageMergeTree::updateMutationEntriesErrors(FutureMergedMutatedPartPtr re
|
||||
for (auto it = mutations_begin_it; it != mutations_end_it; ++it)
|
||||
{
|
||||
MergeTreeMutationEntry & entry = it->second;
|
||||
auto failed_part = result_part->parts.at(0);
|
||||
auto & failed_part = result_part->parts.at(0);
|
||||
if (is_successful)
|
||||
{
|
||||
if (!entry.latest_failed_part.empty() && result_part->part_info.contains(entry.latest_failed_part_info))
|
||||
@ -1320,7 +1320,10 @@ MergeMutateSelectedEntryPtr StorageMergeTree::selectPartsToMutate(
|
||||
}
|
||||
}
|
||||
if (exist_posponed_failed_part)
|
||||
{
|
||||
std::lock_guard lock(mutation_wait_mutex);
|
||||
mutation_wait_event.notify_all();
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user