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 75B3D200B5E for ; Tue, 26 Jul 2016 19:34:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7479F160A69; Tue, 26 Jul 2016 17:34:22 +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 C34A5160A75 for ; Tue, 26 Jul 2016 19:34:21 +0200 (CEST) Received: (qmail 93792 invoked by uid 500); 26 Jul 2016 17:34:20 -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 93773 invoked by uid 99); 26 Jul 2016 17:34:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 17:34:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8628C2C0D64 for ; Tue, 26 Jul 2016 17:34:20 +0000 (UTC) Date: Tue, 26 Jul 2016 17:34:20 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12296) system_auth can't be rebuilt by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 17:34:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394150#comment-15394150 ] Paulo Motta commented on CASSANDRA-12296: ----------------------------------------- I wonder if this is really a bug, given that we recommend users to switch their keyspaces to use {{NetworkTopologyStrategy}} [before performing a rebuild|https://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_dc_to_cluster_t.html]: bq. Ensure that you are using NetworkTopologyStrategy for all of your keyspaces. But perhaps we can indeed update the message to make this more clear. > system_auth can't be rebuilt by default > --------------------------------------- > > Key: CASSANDRA-12296 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12296 > Project: Cassandra > Issue Type: Bug > Reporter: Jim Witschey > > This came up in discussion of CASSANDRA-11687. {{nodetool rebuild}} was failing in a dtest. [~pauloricardomg] explained: > bq. before [CASSANDRA-11848] the local node could be considered a source, while now sources are restricted only to dc2, so since {{system_auth}} uses {{SimpleStrategy}} depending on the token arrangement there could or not be sources from dc2. Fix is to either use {{-Dcassandra.consistent.rangemovement=false}} or update {{system_auth}} to use {{NetworkTopologyStrategy}} with 2 dcs.. > This is, at the very least, a UX bug. When {{rebuild}} fails, it fails with > {code} > nodetool: Unable to find sufficient sources for streaming range (-3287869951390391138,-1624006824486474209] in keyspace system_auth with RF=1.If you want to ignore this, consider using system property -Dcassandra.consistent.rangemovement=false. > {code} > which suggests that a user should give up consistency guarantees when it's not necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)