[ https://issues.apache.org/jira/browse/CASSANDRA-15514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Eriksson updated CASSANDRA-15514: ---------------------------------------- Since Version: 4.0-alpha Source Control Link: https://github.com/apache/cassandra/commit/1fbd3297a9c8303ca7aa2ff30d182e5ca568de4c Resolution: Fixed Status: Resolved (was: Ready to Commit) +1, committed, thanks! > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org