[ 
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

Reply via email to