minor changes to comment

This commit is contained in:
bharatnc 2020-09-10 09:09:48 -07:00
parent 20b3823770
commit 3b3b7bd5e7

View File

@ -226,10 +226,10 @@ StorageReplicatedMergeTree::StorageReplicatedMergeTree(
/// This unclean state will hinder table creation on any retries and will /// This unclean state will hinder table creation on any retries and will
/// complain that the Directory for table already exists. /// complain that the Directory for table already exists.
/// ///
/// To acheive a clean state on failed table creations, catch this error if /// To achieve a clean state on failed table creations, catch this error and
/// the excaption is of type Poco::Exception and call dropIfEmpty() method, /// call dropIfEmpty() method only if the operation isn't ATTACH then proceed
/// then proceed throwing the exception. Without this, the Directory for the /// throwing the exception. Without this, the Directory for the tables need
/// tables need to be manually deleted before retrying the CreateQuery. /// to be manually deleted before retrying the CreateQuery.
try try
{ {
current_zookeeper = global_context.getZooKeeper(); current_zookeeper = global_context.getZooKeeper();