cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2536) Schema disagreements when using connections to multiple hosts
Date Thu, 28 Apr 2011 12:44:03 GMT


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:
>             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:
> 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:

View raw message