scylla-jmx/src/main/java/org/apache/cassandra
Amnon Heiman 9628cc0728 StorageService: Add the scrub 3.11 command implementation
The scrub command was not supported from node_tool, but now when we want
to enable it the current API is not compatible with the 3.11 MBean
definition.

This patch adds the definition to the MBean and the implementation to
StorageService.

It also address two problems with the old scrub implementation, just
in case someone will use them.

1. Implementation didn't pass the parameters to the API.
2. A stub implementation called itself instead of calling an actual
implementation.

This patch will enable to test the command from nodetool additional
changes may come on top of it if more command line options will be
supported.

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
2020-05-29 14:12:09 +03:00
..
db fix is auto compaction disabled 2020-05-29 14:02:40 +03:00
gms FailureDetector: check that states is not null before use 2018-03-29 15:18:48 +03:00
locator Code formatting + source cleanup (eclipse) 2016-10-24 11:43:52 +00:00
metrics CompactionMetrics: use the pending compaction API (#75) 2019-08-05 14:12:48 +03:00
net scylla-jmx: Update JMX interfaces to origin 3.11 2018-07-30 15:47:43 +03:00
repair Add the RepairParallelism enum 2015-08-27 20:46:02 +03:00
service StorageService: Add the scrub 3.11 command implementation 2020-05-29 14:12:09 +03:00
streaming Code formatting + source cleanup (eclipse) 2016-10-24 11:43:52 +00:00