You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/02/18 03:43:47 UTC
[GitHub] [pulsar] codelipenghui commented on issue #6347: PIP 57: Improve
Zookeeper Session Timeout Handling
codelipenghui commented on issue #6347: PIP 57: Improve Zookeeper Session Timeout Handling
URL: https://github.com/apache/pulsar/pull/6347#issuecomment-587264238
@sijie
If I understand correctly, I think the zookeeper client already handles session re-creation. The broker uses https://github.com/apache/pulsar/blob/master/pulsar-zookeeper-utils/src/main/java/org/apache/pulsar/zookeeper/ZookeeperBkClientFactoryImpl.java#L53 to create a zookeeper client.
And the created zookeeper client has handled the session re-creation when the session expired :
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/zookeeper/ZooKeeperClient.java#L357. https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/zookeeper/ZooKeeperClient.java#L123
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services