jira-importer commented on issue #528:
URL: https://github.com/apache/curator/issues/528#issuecomment-2604691229

   <i><a 
href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=arren";>arren</a>:</i>
   <p>ZooKeeper ClientCnxn line 850:     long sessId = (seenRwServerBefore) ? 
sessionId : 0;</p>
   
   <p>The only person who sets seenRwServerBefore is onConnected().</p>
   
   <p>Therefore, it appears that passing a sessionId into a ZooKeeper 
constructor has no effect, as the ClientCnxn has never seen an RW server 
before, so it discards it anyway. So the ZookeeperFactory approach won't 
work.</p>


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to