cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6856) StorageProxy registers new instance with JMX not this instance
Date Fri, 14 Mar 2014 14:46:43 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935088#comment-13935088
] 

Edward Capriolo commented on CASSANDRA-6856:
--------------------------------------------

https://github.com/edwardcapriolo/cassandra/compare/jmx_ersize?expand=1 

This should fix.

> StorageProxy registers new instance with JMX not this instance
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-6856
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6856
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>
> The StorageProxy uses the lovely singleton pattern. However JMX registers a new instance
of StorageProxy class not the singleton. I am not sure the bug is outward facing but it someone
were to add a class level variable inside the storage proxy and manipulate it through JMX
then it would be exposed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message