[
https://issues.apache.org/jira/browse/CASSANDRA-15514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSANDRA-15514:
----------------------------------
Bug Category: Parent values: Degradation(12984)Level 1 values: Resource
Management(12995)
Complexity: Low Hanging Fruit
Discovered By: Unit Test
Fix Version/s: 4.0-beta
Severity: Low
Status: Open (was: Triage Needed)
> Properly clean up DefaultSessionProvider#sessionCache when closing
> QueryReplayer
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-15514
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15514
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/fql
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Normal
> Fix For: 4.0-beta
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]