This commit is contained in:
Michael Kolupaev 2014-07-04 17:15:28 +04:00
parent 1425813cdf
commit d00dc44397

View File

@ -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);
}
/// Будем предпочитать активную реплику в качестве эталонной.