From 9b03fa1074d387953b7ca4317f465c8cb5c5757c Mon Sep 17 00:00:00 2001 From: Nadav Har'El Date: Sun, 27 Dec 2015 19:22:24 +0200 Subject: [PATCH] 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 --- src/main/java/org/apache/cassandra/service/StorageService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/cassandra/service/StorageService.java b/src/main/java/org/apache/cassandra/service/StorageService.java index 59423de..eaa58ed 100644 --- a/src/main/java/org/apache/cassandra/service/StorageService.java +++ b/src/main/java/org/apache/cassandra/service/StorageService.java @@ -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; }