cassandra-commits mailing list archives

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

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

Jonathan Ellis commented on CASSANDRA-6856:
-------------------------------------------

LGTM, committed

> 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
>             Fix For: 2.1 beta2
>
>
> 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