Update src/Storages/StorageReplicatedMergeTree.cpp

Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
This commit is contained in:
tavplubix 2022-01-24 12:12:08 +03:00 committed by GitHub
parent 2f566d2af9
commit 34baca1298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4813,7 +4813,7 @@ void StorageReplicatedMergeTree::restoreMetadataInZooKeeper()
if (has_metadata_in_zookeeper.has_value() && *has_metadata_in_zookeeper)
throw Exception(ErrorCodes::LOGICAL_ERROR, "Replica has metadata in ZooKeeper: "
"it's a bug or a result of manual intervention into ZooKeeper");
"it's either a bug or it's a result of manual intervention to ZooKeeper");
if (are_restoring_replica.exchange(true))
throw Exception(ErrorCodes::CONCURRENT_ACCESS_NOT_SUPPORTED, "Replica restoration in progress");