cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4122) Bootstrap and decommission with multiple ranges for vnodes
Date Wed, 27 Jun 2012 17:41:44 GMT

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

Brandon Williams commented on CASSANDRA-4122:
---------------------------------------------

Is there any reason to mark the singular counterparts (getInitialToken for exmaple) as deprecated
instead of just removing them?
                
> 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

        

Mime
View raw message