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)

Reply via email to