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 E34F5388E for ; Thu, 28 Apr 2011 12:44:41 +0000 (UTC) Received: (qmail 36108 invoked by uid 500); 28 Apr 2011 12:44:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 36077 invoked by uid 500); 28 Apr 2011 12:44: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 36068 invoked by uid 99); 28 Apr 2011 12:44:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 12:44:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 28 Apr 2011 12:44:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23BABB7078 for ; Thu, 28 Apr 2011 12:44:03 +0000 (UTC) Date: Thu, 28 Apr 2011 12:44:03 +0000 (UTC) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Message-ID: <630061162.8924.1303994643142.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <21470429.74976.1303426625803.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2536) Schema disagreements when using connections to multiple hosts 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-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026292#comment-13026292 ] Gary Dusbabek commented on CASSANDRA-2536: ------------------------------------------ bq. any thoughts... I was going to add some jmx to get the last N schema versions (seems like it would be handy anyway and will be necessary if we ever get the rollback pony). Send schema to node A, verify that schema is propagated to B, send schema to B and watch the problem happen. The code to start looking at are the Definitions*VerbHandlers. Schema version is tracked in two places: gossip and in DatabaseDescriptor.defsVersion. Make sure those are reasonably in sync (was the sourced of one bug in the past). > Schema disagreements when using connections to multiple hosts > ------------------------------------------------------------- > > Key: CASSANDRA-2536 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2536 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.8 beta 1 > Environment: Two node 0.8-beta1 cluster with one seed and JNA. > Reporter: Tyler Hobbs > Assignee: Gary Dusbabek > Attachments: schema_disagree.py > > > If you have two thrift connections open to different nodes and you create a KS using the first, then a CF in that KS using the second, you wind up with a schema disagreement even if you wait/sleep after creating the KS. > The attached script reproduces the issue using pycassa (1.0.6 should work fine, although it has the 0.7 thrift-gen code). It's also reproducible by hand with two cassandra-cli sessions. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira