Bring back old forceKeyspaceCompaction() overload
nodetool from scylla-tools-java still uses it. Currently `nodetool compact` fails like this: error: forceKeyspaceCompaction(java.lang.String, [Ljava.lang.String;) -- StackTrace -- java.lang.NoSuchMethodException: forceKeyspaceCompaction(java.lang.String, [Ljava.lang.String;) Fixes scylladb/scylla#2261 Probably broken by 3e146845b42cb6bafbcff336d70e3c846d5b1528 Message-Id: <1491470483-6147-1-git-send-email-tgrabiec@scylladb.com>
This commit is contained in:
parent
0c541d73e7
commit
8176d5729f
@ -582,6 +582,7 @@ public class StorageService extends MetricsMBean implements StorageServiceMBean,
|
||||
/**
|
||||
* Forces major compaction of a single keyspace
|
||||
*/
|
||||
@Override
|
||||
public void forceKeyspaceCompaction(String keyspaceName, String... columnFamilies)
|
||||
throws IOException, ExecutionException, InterruptedException {
|
||||
log(" forceKeyspaceCompaction(String keyspaceName, String... columnFamilies) throws IOException, ExecutionException, InterruptedException");
|
||||
|
@ -291,6 +291,12 @@ public interface StorageServiceMBean extends NotificationEmitter {
|
||||
public void forceKeyspaceCompaction(boolean splitOutput, String keyspaceName, String... tableNames)
|
||||
throws IOException, ExecutionException, InterruptedException;
|
||||
|
||||
/**
|
||||
* Forces major compaction of a single keyspace.
|
||||
*/
|
||||
public void forceKeyspaceCompaction(String keyspaceName, String... tableNames)
|
||||
throws IOException, ExecutionException, InterruptedException;
|
||||
|
||||
/**
|
||||
* Trigger a cleanup of keys on a single keyspace
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user