Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7FCE2200BF3 for ; Thu, 5 Jan 2017 21:24:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7E570160B33; Thu, 5 Jan 2017 20:24:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED85F160B26 for ; Thu, 5 Jan 2017 21:24:04 +0100 (CET) Received: (qmail 32533 invoked by uid 500); 5 Jan 2017 20:23:59 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 32282 invoked by uid 99); 5 Jan 2017 20:23:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 20:23:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DB9322C0453 for ; Thu, 5 Jan 2017 20:23:58 +0000 (UTC) Date: Thu, 5 Jan 2017 20:23:58 +0000 (UTC) From: "Dikang Gu (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-13080) Use new token allocation for non bootstrap case as well. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Jan 2017 20:24:05 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dikang Gu updated CASSANDRA-13080: ---------------------------------- Resolution: Fixed Status: Resolved (was: Ready to Commit) committed as {{5f3b35981d28179606c52599d502de7a08b9b690}} > 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)