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

Dikang Gu commented on CASSANDRA-13080:
---------------------------------------

Address comments.
1. call the algorithm for seeds as well.
2. add the wait for schema and gossip in the {{allocateTokens}}

|[patch|https://github.com/DikangGu/cassandra/commit/d15794155d7088b92cd1ea75ff76badd960e402d]|[unit
 
test|https://cassci.datastax.com/view/Dev/view/DikangGu/job/DikangGu-CASSANDRA-13080-trunk-testall/]|[dtest|https://cassci.datastax.com/view/Dev/view/DikangGu/job/DikangGu-CASSANDRA-13080-trunk-dtest/]|

> Use new token allocation for non bootstrap case as well.
> --------------------------------------------------------
>
>                 Key: CASSANDRA-13080
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13080
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>             Fix For: 3.12
>
>
> There are couple reasons I think we should use the new token allocation for 
> non bootstrap case as well.
> 1. In some cases, We want to bring up nodes, but do not need to stream any 
> data to the new nodes. So we want to allocate correct tokens, and skip the 
> JOIN state, which should avoid triggering pending range calculation on other 
> nodes as well. On use case is when we bring up a new DC.
> 2. We can unify the token allocation code path for both bootstrap and 
> non-bootstrap use case.



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

Reply via email to