mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
This commit is contained in:
parent
8921725d71
commit
2f566d2af9
@ -4808,7 +4808,7 @@ void StorageReplicatedMergeTree::restoreMetadataInZooKeeper()
|
||||
if (getZooKeeper()->exists(replica_path))
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS,
|
||||
"Replica path is present at {} - nothing to restore. "
|
||||
"If you are sure that metadata is lost and replica path contain some garbage, "
|
||||
"If you are sure that metadata is lost and that replica path contains some garbage, "
|
||||
"then use SYSTEM DROP REPLICA query first.", replica_path);
|
||||
|
||||
if (has_metadata_in_zookeeper.has_value() && *has_metadata_in_zookeeper)
|
||||
|
Loading…
Reference in New Issue
Block a user