mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
minor changes to comment
This commit is contained in:
parent
20b3823770
commit
3b3b7bd5e7
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user