dbms: removing old queue entries: continue development [#METR-18035].

This commit is contained in:
Alexey Milovidov 2015-09-17 00:12:59 +03:00
parent 13112cc66e
commit b0b44b1565

View File

@ -1756,10 +1756,6 @@ 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);