Update StorageReplicatedMergeTree.cpp

This commit is contained in:
Vadim 2018-08-23 19:40:59 +03:00 committed by GitHub
parent 5a129f5383
commit 0bc224ab46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2071,8 +2071,10 @@ void StorageReplicatedMergeTree::cloneReplicaIfNeeded(zkutil::ZooKeeperPtr zooke
{
String resp;
if (!zookeeper->tryGet(source_replica_path + "/is_lost", resp, &source_is_lost_stat) || resp == "0")
{
source_replica = replica_name;
break;
break;
}
}
}