You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joseph Lynch (JIRA)" <ji...@apache.org> on 2019/01/08 22:14:00 UTC

[jira] [Resolved] (CASSANDRA-14969) Clean up ThreadLocals directly instead of via reflection

     [ https://issues.apache.org/jira/browse/CASSANDRA-14969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Lynch resolved CASSANDRA-14969.
--------------------------------------
    Resolution: Invalid

My mistake, it appears that after Alex's suggestion to clean up the {{FastThreadLocalThread}}'s ThreadLocalMap directly via netty we don't need the reflection hack any more. Closing this out, sorry for the ticket spam. 

> Clean up ThreadLocals directly instead of via reflection
> --------------------------------------------------------
>
>                 Key: CASSANDRA-14969
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14969
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest
>            Reporter: Joseph Lynch
>            Priority: Minor
>
> In CASSANDRA-14922 we have to institute a bit of a hack via reflection to clean up thread local variables that are not properly {{destroyed}} in {{DistributedTestBase::cleanup}}. Let's make sure that all of the thread locals we have are cleaned up via {{destroy}} calls instead of relying on reflection here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org