scylla-jmx: repairAsync: don't ignore options
repairAsync() builds an "options" argument from the options map it gets, but then forgot to pass this argument to the request :-) This is part of issue scylladb/#714. Signed-off-by: Nadav Har'El <nyh@scylladb.com>
This commit is contained in:
parent
c8b9198f3b
commit
9b03fa1074
@ -630,7 +630,8 @@ public class StorageService extends NotificationBroadcasterSupport
|
||||
opts = opts + op + "=" + options.get(op);
|
||||
}
|
||||
APIClient.set_query_param(queryParams, "options", opts);
|
||||
int cmd = c.postInt("/storage_service/repair_async/" + keyspace);
|
||||
int cmd = c.postInt("/storage_service/repair_async/" + keyspace,
|
||||
queryParams);
|
||||
waitAndNotifyRepair(cmd, keyspace, getRepairMessage(cmd, keyspace, 1, RepairParallelism.SEQUENTIAL, true));
|
||||
return cmd;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user