Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.7.0
-
None
-
None
-
Reviewed
Description
Found one deadlock in ZKRMStateStore.
- Initial stage zkClient is null because of zk disconnected event.
- When ZKRMstatestore#runWithCheck() wait(zkSessionTimeout) for zkClient to re establish zookeeper connection either via synconnected or expired event, it is highly possible that any other thred can obtain lock on ZKRMStateStore.this from state machine transition events. This cause Deadlock in ZKRMStateStore.