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

Yuki Morishita commented on CASSANDRA-10406:
--------------------------------------------

Sorry, it tool me awhile to get back to you. I uploaded your patch against 
trunk [here|https://github.com/yukim/cassandra/tree/10406-trunk].
(I modified a bit to retain old JMX API and not break anything outside of 
cassandra.)

With the patch you can give only tokens without keyspace, but this will be the 
same as rebuilding all keyspaces with all local ranges, not the ranges given.
We should either add argument check not to allow '-ts' without specifying 
keyspace, or allow '-ts' without keyspace and rebuild all keyspace for given 
range.
Check needs to be done in both nodetool and StorageService.

> Nodetool supports to rebuild from specific ranges.
> --------------------------------------------------
>
>                 Key: CASSANDRA-10406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10406
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>             Fix For: 2.1.x
>
>         Attachments: CASSANDRA-10406.patch, rebuildranges-2.1.patch
>
>
> Add the 'nodetool rebuildrange' command, so that if `nodetool rebuild` 
> failed, we do not need to rebuild all the ranges, and can just rebuild those 
> failed ones.
> Should be easily ported to all versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to