mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +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());
|
LOG_INFO(log, "Will try to attach {} partitions", partitions.size());
|
||||||
|
|
||||||
|
if (partitions.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
const Stopwatch watch;
|
const Stopwatch watch;
|
||||||
ProfileEventsScope profile_events_scope;
|
ProfileEventsScope profile_events_scope;
|
||||||
const auto zookeeper = getZooKeeper();
|
const auto zookeeper = getZooKeeper();
|
||||||
|
Loading…
Reference in New Issue
Block a user