mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
dbms: clearing impossible queue entries: development [#METR-18035].
This commit is contained in:
parent
23a11f19c7
commit
d829d9fe10
@ -1756,6 +1756,10 @@ void StorageReplicatedMergeTree::searchForMissingPart(const String & part_name)
|
||||
return;
|
||||
}
|
||||
|
||||
/// TODO Временное решение, так как логика ниже не верна для остальных случаев.
|
||||
if (part_length_in_blocks != 1)
|
||||
return;
|
||||
|
||||
size_t num_found_blocks = 0;
|
||||
for (auto found_block : found_blocks)
|
||||
num_found_blocks += (found_block == 1);
|
||||
|
Loading…
Reference in New Issue
Block a user