cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11589) NodeProbe.checkJobs uses DatabaseDescriptor
Date Sun, 17 Apr 2016 18:01:25 GMT
Robert Stupp created CASSANDRA-11589:
----------------------------------------

             Summary: NodeProbe.checkJobs uses DatabaseDescriptor
                 Key: CASSANDRA-11589
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11589
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
            Priority: Minor


CASSANDRA-11179 introduced the {{-j}} parameter for several nodetool commands. The function
{{NodeProbe.checkJobs}} validates the argument against {{DatabaseDescriptor.getConcurrentCompactors()}},
which returns the configured value of the _local_ node - so it might not return the correct
value for the node to which nodetool talks.

So, {{checkJobs()}} should get the configured number of concurrent_compactors via JMX and
not using DatabaseDescriptor.



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

Mime
View raw message