Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4, 0.5
-
None
-
None
Description
HiveClientCache does a health check before returning the client. During the health check the client may get closed via the RemovalListener if
1) No one is else is using it
2) It is beyond expiry time for the client
3) Another thread access the case which may trigger the RemovalListener
In this case the get() call would end up returning a closed client.