mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
This commit is contained in:
parent
63be310441
commit
e6fe71b385
@ -7672,7 +7672,7 @@ NameSet getParentLockedBlobs(zkutil::ZooKeeperPtr zookeeper_ptr, const std::stri
|
||||
|
||||
/// Sort is important. We need to find our closest parent, like:
|
||||
/// for part all_0_0_0_64 we can have parents
|
||||
/// all_0_0_0_6 < we need closes parent, not others
|
||||
/// all_0_0_0_6 < we need the closest parent, not others
|
||||
/// all_0_0_0_1
|
||||
/// all_0_0_0
|
||||
std::sort(parts_infos.begin(), parts_infos.end());
|
||||
|
Loading…
Reference in New Issue
Block a user