mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Merge pull request #28310 from azat/intersecting-parts
Fix intersecting parts due to new part had been replaced with an empty part
This commit is contained in:
commit
0708d51ad1
@ -192,7 +192,7 @@ void ReplicatedMergeTreePartCheckThread::searchForMissingPartAndFetchIfPossible(
|
||||
if (missing_part_search_result == MissingPartSearchResult::LostForever)
|
||||
{
|
||||
auto lost_part_info = MergeTreePartInfo::fromPartName(part_name, storage.format_version);
|
||||
if (lost_part_info.level != 0)
|
||||
if (lost_part_info.level != 0 || lost_part_info.mutation != 0)
|
||||
{
|
||||
Strings source_parts;
|
||||
bool part_in_queue = storage.queue.checkPartInQueueAndGetSourceParts(part_name, source_parts);
|
||||
|
Loading…
Reference in New Issue
Block a user