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

Chris Lohfink updated CASSANDRA-8344:
-------------------------------------
    Attachment: 8344.diff

> QueryProcessor evictionCheckTimer not named and non-daemon
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-8344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8344
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Chris Lohfink
>            Assignee: Chris Lohfink
>            Priority: Trivial
>         Attachments: 8344.diff
>
>
> QueryProcessor's evictionCheckTimer isn't daemon and is not named.  Makes it 
> difficult to track down when blocking application (i.e. forked benchmarks 
> from JMH will freeze waiting for completion).
> for what its worth, little hack to work around it to make tests complete:
> {code}
>             Field f = 
> QueryProcessor.class.getDeclaredField("evictionCheckTimer");
>             f.setAccessible(true);
>             ((ScheduledExecutorService)f.get(null)).shutdown();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to