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 E08F8200B0F for ; Fri, 17 Jun 2016 15:08:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DF0AD160A61; Fri, 17 Jun 2016 13:08:06 +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 58987160A50 for ; Fri, 17 Jun 2016 15:08:06 +0200 (CEST) Received: (qmail 33102 invoked by uid 500); 17 Jun 2016 13:08:05 -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 33090 invoked by uid 99); 17 Jun 2016 13:08:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2016 13:08:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2E4B32C1F5C for ; Fri, 17 Jun 2016 13:08:05 +0000 (UTC) Date: Fri, 17 Jun 2016 13:08:05 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12015) Rebuilding from another DC should use different sources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Jun 2016 13:08:07 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336005#comment-15336005 ] Paulo Motta commented on CASSANDRA-12015: ----------------------------------------- bq. How about just copying the sortByProximity impl from AbstractEndpointSnitch to RangeStreamer ? you'd probably need to also copy the {{compareEndpoints}} from {{AbstractNetworkTopologySnitch}}, maybe abstract to a common static method so it can be reuse... and we'd also need to special case the {{SimpleSnitch}} case I guess. yes, definitely not a one-liner but should be feasible.. > Rebuilding from another DC should use different sources > ------------------------------------------------------- > > Key: CASSANDRA-12015 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12015 > Project: Cassandra > Issue Type: Improvement > Reporter: Fabien Rousseau > > Currently, when adding a new DC (ex: DC2) and rebuilding it from an existing DC (ex: DC1), only the closest replica is used as a "source of data". > It works but is not optimal, because in case of an RF=3 and 3 nodes cluster, only one node in DC1 is streaming the data to DC2. > To build the new DC in a reasonable time, it would be better, in that case, to stream from multiple sources, thus distributing more evenly the load. -- This message was sent by Atlassian JIRA (v6.3.4#6332)