You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2012/07/02 21:31:37 UTC

[jira] [Commented] (CASSANDRA-4122) Bootstrap and decommission with multiple ranges for vnodes

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

Eric Evans commented on CASSANDRA-4122:
---------------------------------------

This is done in: https://github.com/acunu/cassandra/commit/80d1668, and the patch output reflects this.
                
> Bootstrap and decommission with multiple ranges for vnodes
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-4122
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4122
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Sam Overton
>            Assignee: Sam Overton
>
> Bootstrap:
> * New config parameter num_tokens which is used iff initial_token is not set. 
> * Both initial_token and replace_token will allow a comma-separated list of tokens so multiple tokens can be configured explicitly if required.
> * Bootstrapper.getBalancedToken will be deprecated and used only in the case that num_tokens == 1. Instead, if initial token is not specified, num_tokens tokens will be randomly chosen.
> * The existing logic can be used to calculate the new ranges which must be streamed.
> Decommission:
> * The existing logic can be used with some minor modifications to account for multiple tokens per host
> _Edit0: appended patch information._
> _Edit1: added 03_group_stream_out_ranges patch._
> h3. Patches
> ||Compare||Raw diff||Description||
> |[01_bootstrap_decommission|https://github.com/acunu/cassandra/compare/top-bases/p/4122/01_bootstrap_decommission...p/4122/01_bootstrap_decommission]|[01_bootstrap_decommission.patch|https://github.com/acunu/cassandra/compare/top-bases/p/4122/01_bootstrap_decommission...p/4122/01_bootstrap_decommission.diff]|No Description|
> |[02_remove_tokens|https://github.com/acunu/cassandra/compare/top-bases/p/4122/02_remove_tokens...p/4122/02_remove_tokens]|[02_remove_tokens.patch|https://github.com/acunu/cassandra/compare/top-bases/p/4122/02_remove_tokens...p/4122/02_remove_tokens.diff]|No Description|
> |[03_group_stream_out_ranges|https://github.com/acunu/cassandra/compare/top-bases/p/4122/03_group_stream_out_ranges...p/4122/03_group_stream_out_ranges]|[03_group_stream_out_ranges.patch|https://github.com/acunu/cassandra/compare/top-bases/p/4122/03_group_stream_out_ranges...p/4122/03_group_stream_out_ranges.diff]|No Description|
> ----
> _Note: These are branches managed with TopGit. If you are applying the patch output manually, you will either need to filter the TopGit metadata files (i.e. {{wget -O - <url> | filterdiff -x*.topdeps -x*.topmsg | patch -p1}}), or remove them afterward ({{rm .topmsg .topdeps}})._

--
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