mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +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))
|
||||
break;
|
||||
|
||||
event->tryWait(5 * 1000);
|
||||
event->wait(5 * 1000);
|
||||
}
|
||||
|
||||
/// Будем предпочитать активную реплику в качестве эталонной.
|
||||
|
Loading…
Reference in New Issue
Block a user