You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2014/11/19 20:33:34 UTC
[jira] [Updated] (CASSANDRA-8344) QueryProcessor evictionCheckTimer
not named and non-daemon
[ 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)