Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
Sprint #4 10/2 - 10/16
Description
There is race condition in ZkHelixManager.disconnect() during zk session expiry. If someone calls ZkHelixManager.disconnect() when zk session expiry happens, the real shutdown work may be skipped:
public void disconnect()
{
if (!isConnected())
disconnectInternal();
}
And when zk connection comes back again, the zk manager instance will come alive again even though the instance might be considered dead already.