mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 22:22:00 +00:00
Sync after reconnect
This commit is contained in:
parent
1ff14aed02
commit
1af9a81297
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user