[
https://issues.apache.org/jira/browse/CASSANDRA-8076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuki Morishita updated CASSANDRA-8076:
--------------------------------------
Attachment: 8076-2.0.txt
Here's my proposal. Attached patch for 2.0.
{code}
/**
* Get repair status of finished repair.
* Return value can be one of the following:
*
* <dl>
* <dt>-1</dt>
* <dd>Repair is still running, or status is not available for given
repair number</dd>
* <dt>0</dt>
* <dd>Repair has finished successfully</dd>
* <dt>1</dt>
* <dd>Repair has finished with error</dd>
* </dl>
*
* @param id Repair number to check. The number is given as return value of
async repair operations.
* @return repair status in number.
*/
public int getRepairStatus(int id);
{code}
WDYT?
> Expose an mbean method to poll for repair job status
> ----------------------------------------------------
>
> Key: CASSANDRA-8076
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8076
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Philip S Doctor
> Assignee: Yuki Morishita
> Fix For: 2.0.12
>
> Attachments: 8076-2.0.txt
>
>
> Given the int reply-id from forceRepairAsync, allow a client to request the
> status of this ID via jmx.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)