mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Merge
This commit is contained in:
parent
1425813cdf
commit
d00dc44397
@ -241,7 +241,7 @@ void StorageReplicatedMergeTree::createReplica()
|
|||||||
if (zookeeper->exists(zookeeper_path + "/replicas/" + replica + "/log_pointers/" + replica_name, nullptr, event))
|
if (zookeeper->exists(zookeeper_path + "/replicas/" + replica + "/log_pointers/" + replica_name, nullptr, event))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
event->tryWait(5 * 1000);
|
event->wait(5 * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Будем предпочитать активную реплику в качестве эталонной.
|
/// Будем предпочитать активную реплику в качестве эталонной.
|
||||||
|
Loading…
Reference in New Issue
Block a user