Sync after reconnect

This commit is contained in:
Antonio Andelic 2022-08-31 08:29:40 +00:00
parent 1ff14aed02
commit 1af9a81297

View File

@ -503,6 +503,8 @@ zkutil::ZooKeeperPtr StorageKeeperMap::getClient() const
zookeeper_client = getContext()->getZooKeeper();
else
zookeeper_client = getContext()->getAuxiliaryZooKeeper(zookeeper_name);
zookeeper_client->sync(rootKeeperPath());
}
return zookeeper_client;