Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A94BE1072C for ; Wed, 25 Jun 2014 15:33:25 +0000 (UTC) Received: (qmail 90132 invoked by uid 500); 25 Jun 2014 15:33:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 90091 invoked by uid 500); 25 Jun 2014 15:33:25 -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 90077 invoked by uid 99); 25 Jun 2014 15:33:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 15:33:25 +0000 Date: Wed, 25 Jun 2014 15:33:25 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7356) Add a more ops friendly replace_address flag MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-7356: ----------------------------------- Attachment: 7356_fix_v2.txt 7356_fix_v2 moves the check for replacing after having already bootstrapped instead of removing it entirely. I put this through a few bootstrap, replace_address, and replace_address_first_boot tests with ccm locally. > Add a more ops friendly replace_address flag > -------------------------------------------- > > Key: CASSANDRA-7356 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7356 > Project: Cassandra > Issue Type: Improvement > Reporter: Richard Low > Assignee: Brandon Williams > Fix For: 1.2.17, 2.0.9, 2.1 rc2 > > Attachments: 7356.txt, 7356_fix.patch, 7356_fix_v2.txt > > > Doing a host replacement with cassandra.replace_address works well, but it is operationally difficult because the flag needs clearing once the replace is successful. Most people will launch through some scripts so remembering to clear the flag is a pain. Forgetting means the node won't come up on a restart. > We should have a flag like cassandra.replace_address_first_boot that works the same as auto_bootstrap/initial_token: it is totally ignored if the node has successfully bootstrapped but on starting from a clean disk it will work as the existing cassandra.replace_address. -- This message was sent by Atlassian JIRA (v6.2#6252)