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 5382C74FA for ; Mon, 12 Sep 2011 14:23:39 +0000 (UTC) Received: (qmail 26430 invoked by uid 500); 12 Sep 2011 14:19:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 23420 invoked by uid 500); 12 Sep 2011 14:18:41 -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 23250 invoked by uid 99); 12 Sep 2011 14:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 14:18:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 14:18:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6980B94F37 for ; Mon, 12 Sep 2011 14:18:09 +0000 (UTC) Date: Mon, 12 Sep 2011 14:18:09 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <1482367683.17251.1315837089427.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <711111550.14444.1311815470351.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2963) Add a convenient way to reset a node's schema 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-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102674#comment-13102674 ] Brandon Williams commented on CASSANDRA-2963: --------------------------------------------- Thanks for the patch! I don't think this should be a thrift-level call though, since most clients don't care which machine they're connected to, and many client libs abstract this away. A JMX call with a nodetool command would be more appropriate. > Add a convenient way to reset a node's schema > --------------------------------------------- > > Key: CASSANDRA-2963 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2963 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: Brandon Williams > Priority: Minor > Labels: lhf > Fix For: 0.8.6 > > Attachments: system_reset_schema.txt > > > People often encounter a schema disagreement where just one node is out of sync. To get it back in sync, they shutdown the node, move the Schema* and Migration* files out of the system ks, and then start it back up. Rather than go through this process, it would be nice if you could just tell the node to reset its schema. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira