mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
fix wait in drop
This commit is contained in:
parent
16a3eb9bfc
commit
44b4345996
@ -869,8 +869,6 @@ zkutil::ZooKeeperPtr StorageReplicatedMergeTree::getZooKeeperIfTableShutDown() c
|
|||||||
|
|
||||||
void StorageReplicatedMergeTree::drop()
|
void StorageReplicatedMergeTree::drop()
|
||||||
{
|
{
|
||||||
waitForOutdatedPartsToBeLoaded();
|
|
||||||
|
|
||||||
/// There is also the case when user has configured ClickHouse to wrong ZooKeeper cluster
|
/// There is also the case when user has configured ClickHouse to wrong ZooKeeper cluster
|
||||||
/// or metadata of staled replica were removed manually,
|
/// or metadata of staled replica were removed manually,
|
||||||
/// in this case, has_metadata_in_zookeeper = false, and we also permit to drop the table.
|
/// in this case, has_metadata_in_zookeeper = false, and we also permit to drop the table.
|
||||||
|
Loading…
Reference in New Issue
Block a user