mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
dbms: better [#METR-18035].
This commit is contained in:
parent
cf7d220f10
commit
13112cc66e
@ -1743,7 +1743,7 @@ void StorageReplicatedMergeTree::searchForMissingPart(const String & part_name)
|
|||||||
ActiveDataPartSet::parsePartName(part_on_replica, part_on_replica_info);
|
ActiveDataPartSet::parsePartName(part_on_replica, part_on_replica_info);
|
||||||
|
|
||||||
for (auto block_num = part_on_replica_info.left; block_num <= part_on_replica_info.right; ++block_num)
|
for (auto block_num = part_on_replica_info.left; block_num <= part_on_replica_info.right; ++block_num)
|
||||||
found_blocks[block_num - part_info.left] = 1;
|
found_blocks.at(block_num - part_info.left) = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (found)
|
if (found)
|
||||||
|
Loading…
Reference in New Issue
Block a user