mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
Update StorageReplicatedMergeTree.cpp
This commit is contained in:
parent
eaed771641
commit
4c8607155f
@ -8334,6 +8334,9 @@ void StorageReplicatedMergeTree::replacePartitionFrom(
|
||||
}
|
||||
LOG_INFO(log, "Will try to attach {} partitions", partitions.size());
|
||||
|
||||
if (partitions.empty())
|
||||
return;
|
||||
|
||||
const Stopwatch watch;
|
||||
ProfileEventsScope profile_events_scope;
|
||||
const auto zookeeper = getZooKeeper();
|
||||
|
Loading…
Reference in New Issue
Block a user