JMX Connection - Cassandra

Elias Ross genman at noderunner.net
Fri Oct 26 18:21:07 UTC 2012


On Fri, Oct 26, 2012 at 10:46 AM, Stefan Negrea <snegrea at redhat.com> wrote:

>
> Here is the code change. Code reviews would be greatly appreciated.
> http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?h=jsanda/cassandra-plugin&id=4c9f26dc5301d3f3e4cd7ac128d496b5dfa2ae4c

connectionProvider and connection should probably be declared 'volatile'.

One thing that should also be done is call close on the connection
even if the connection provider goes down. This may not matter, but
that connection could be holding threads.

See: https://bugzilla.redhat.com/show_bug.cgi?id=848938 "JMX Plugin -
Leaking connector threads"


More information about the rhq-devel mailing list