dlmarion commented on issue #3633:
URL: https://github.com/apache/accumulo/issues/3633#issuecomment-1642639607

   `ZooKeeper.getSessionId` javadoc:
   
   ```
   public long getSessionId()
   The session id for this ZooKeeper client instance. The value returned is not 
valid until the client connects to a server and may change after a re-connect. 
This method is NOT thread safe
   Returns:
   current session id
   ```
   
   It seems that calling `ZooKeeper.getSessionId` may give the wrong answer if 
the ZooKeeper client reconnects to the server.  It might be best to get the 
SessionId right after creating the ServiceLock and use that for the life of the 
TabletServer.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to