scylla-jmx/src/main/java/org/apache/cassandra
Nadav Har'El f05c6709dd Fix "nodetool repair" error
The existing scylla-jmx code had reversed logic for the success of the repair:
it reported to "nodetool repair" a failure when the repair was successful :-)

Note that "nodetool repair" waits until a FINISHED notification, and then reports
a failure if it previously got any SESSION_FAILED notification; So if repair was
successful, all we need to do is to avoid sending a "SESSION_FAILED" message.
But we don't need to send any additional "SESSION_SUCCESS" message to signal
success. That message type is only used to report progress to the user (a
"session" is part of the repair work, so seeing sessions completing shows
progress), but because Scylla doesn't support this progress report yet, we
can't send these notifications yet, and there's no point in sending one such
message at the end - it's only confusing (especially when the text is the same
as that of the FINISHED message).

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
2015-10-15 09:50:35 +03:00
..
db ColumnFamilyMetrics: Use schedule for the column family timer 2015-10-04 12:49:51 +03:00
gms Moving the MBean to 2.1 (8) 2015-07-30 12:01:05 +03:00
locator EndpointSnitchInfo: Cache results for data center and rack 2015-10-07 10:24:50 +03:00
metrics ColumnFamilyMetrics: add estimated row count histogram 2015-10-04 12:54:31 +03:00
net JMX API rename the cloudius package to cloudius.urchin 2015-05-18 10:27:27 +03:00
repair Add the RepairParallelism enum 2015-08-27 20:46:02 +03:00
service Fix "nodetool repair" error 2015-10-15 09:50:35 +03:00