[ https://issues.apache.org/jira/browse/CASSANDRA-16205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218182#comment-17218182 ]
Michael Semb Wever edited comment on CASSANDRA-16205 at 10/21/20, 8:18 AM: --------------------------------------------------------------------------- bq. If the objective here is to pre-generate tokens to speed up dtests on CASSANDRA-16079, couldn't we generate them using the latter approach on ccm/dtest ? For CASSANDRA-16079 isn't the code (and the imbalance) parity what we want? That is we want tests to be running on the same setups that {{allocate_tokens_for_local_replication_factor}} generates, since that is our default (soon to be). I agree that the script could be extended to generate "balanced", but the user will still want the RF algorithm approach for those adding nodes to an existing cluster situations (for the same reason we have the algorithm inside C*). If you agree, can this then be a follow on ticket? was (Author: michaelsembwever): bq. If the objective here is to pre-generate tokens to speed up dtests on CASSANDRA-16079, couldn't we generate them using the latter approach on ccm/dtest ? For CASSANDRA-16079 isn't the code (and the imbalance) parity what we want? That is we want tests to be running on the same setups that allocate_tokens_for_local_replication_factor generates, since that is our default (soon to be). I agree that the script could be extended to generate "balanced", but the user will still want the RF algorithm approach for those adding nodes to an existing cluster situations (for the same reason we have the algorithm inside C*). If you agree, can this then be a follow on ticket? > Offline token allocation strategy generator tool > ------------------------------------------------ > > Key: CASSANDRA-16205 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16205 > Project: Cassandra > Issue Type: Improvement > Components: Local/Config, Local/Scripts > Reporter: Michael Semb Wever > Assignee: Michael Semb Wever > Priority: Normal > > A command line tool to generate tokens (using the > allocate_tokens_for_local_replication_factor algorithm) for pre-configuration > of {{initial_tokens}} in cassandra.yaml. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org