scylla-jmx/src/main/java/org/apache/cassandra/service
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
..
CacheService.java Instantiate the CacheMetrics 2015-07-01 10:11:21 +03:00
CacheServiceMBean.java Adding the CacheServiceMBean and CacheService 2015-06-24 16:48:56 +03:00
StorageProxy.java Add depricated implemention to the StorageProxy 2015-08-10 09:00:47 +03:00
StorageProxyMBean.java Moving the MBean to 2.1 (8) 2015-07-30 12:01:05 +03:00
StorageService.java Fix "nodetool repair" error 2015-10-15 09:50:35 +03:00
StorageServiceMBean.java StorageService: Add notification suport for the repair command 2015-08-27 21:02:28 +03:00