You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/04/12 22:48:12 UTC
[GitHub] [accumulo] keith-turner opened a new issue #1086: ZooLock uses
ZooReader which may retry on session expired
keith-turner opened a new issue #1086: ZooLock uses ZooReader which may retry on session expired
URL: https://github.com/apache/accumulo/issues/1086
Accumulo tablet servers use ephemeral nodes in zookeeper to advertise their existence. If this ephemeral node is deleted for any reason a tablet server must halt. One way it can be deleted is if a tablet server is not responsive enough to zookeeper servers. In this case the zookeeper servers will close the session which causes any ephemeral nodes related to the session to be deleted. If the tablet server is still alive and tries to communicate with zookeeper it will get a session expired exception. When this happens the tablet server should halt.
The code that manages tablet servers ephemeral nodes is called ZookLock. ZooLock uses an Accumulo abstraction for Zookeeper called ZooReader. The ZooReader code may retry on session expired events. Need to examine ZooLock's use of ZooReader to ensure that retrying on session expired events does not delay ZooLock from becoming aware of session expiration.
----------------------------------------------------------------
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