[ 
https://issues.apache.org/jira/browse/CASSANDRA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176725#comment-13176725
 ] 

Jonathan Ellis commented on CASSANDRA-3583:
-------------------------------------------

I don't quite understand.  I'm saying that a "rebuild index" command can serve 
two purposes:

- restart an index build that got cancelled via 1740
- rebuild an existing index that is suspected to be corrupt or fragmented

For the second part it's important to clear the built flag to avoid surprises 
in the restart scenario.  (If the server doesn't restart of course it doesn't 
matter.)
                
> Add "rebuild index" JMX command
> -------------------------------
>
>                 Key: CASSANDRA-3583
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3583
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core, Tools
>            Reporter: Jonathan Ellis
>            Assignee: Vijay
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: 0001-3583.patch
>
>
> CASSANDRA-1740 allows aborting an index build, but there is no way to 
> re-attempt the build without restarting the server.
> We've also had requests to allow rebuilding an index that *has* been built, 
> so it would be nice to kill two birds with one stone here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to