mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Update src/Storages/MergeTree/MergeTreePartInfo.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
This commit is contained in:
parent
81b93ef12b
commit
800f2f097c
@ -315,7 +315,7 @@ bool MergeTreePartInfo::areAllBlockNumbersCovered(const MergeTreePartInfo & bloc
|
||||
|
||||
for (const auto & candidate : candidates)
|
||||
{
|
||||
if (candidate.min_block - current_right_block > 1)
|
||||
if (current_right_block + 1 != candidate.min_block)
|
||||
return false;
|
||||
|
||||
current_right_block = candidate.max_block;
|
||||
|
Loading…
Reference in New Issue
Block a user