Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Degradation - Resource Management
-
Low
-
Low Hanging Fruit
-
Unit Test
-
All
-
None
-
Description
The DefaultSessionProvider used by the QueryReplayer caches the sessions by hostname. When closing, the sessions and their associated clusters are closed but they never get removed from the cache.
When connecting to the same host, the closed session is returned, which is unexpected.
Besides the unexpected behavior, the session references remaining in the cache leaks resources.
Attachments
Issue Links
- is related to
-
CASSANDRA-15537 4.0 quality testing: Local Read/Write Path: Upgrade and Diff Test
- Resolved