cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4317) AssertionError in handleStateNormal in a mixed cluster
Date Tue, 19 Jun 2012 16:23:44 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams updated CASSANDRA-4317:
----------------------------------------

    Attachment: 0002-Check-both-ms-and-gossip-for-version-when-handling-sta.txt
                0001-Gossip-current-network-version.txt

The first patch is CASSANDRA-4101 rebased, which gossips the net version.

The second adds a way to see is MS _really_ knows the version (so that we don't have to mess
with its current behavior) and encapsulates the logic to check both it and gossip to determine
if hostids should be used inside SS, replacing all the current checks there as well.
                
> AssertionError in handleStateNormal in a mixed cluster
> ------------------------------------------------------
>
>                 Key: CASSANDRA-4317
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4317
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>             Fix For: 1.2
>
>         Attachments: 0001-Gossip-current-network-version.txt, 0002-Check-both-ms-and-gossip-for-version-when-handling-sta.txt
>
>
> In a 3 node cluster with one seed on trunk, a member on trunk, and another member on
a previous version, the following occurs only on the non-seed trunk member:
> {noformat}
> ERROR 16:44:18,708 Exception in thread Thread[GossipStage:1,5,main]
> java.lang.AssertionError
>         at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1072)
>         at org.apache.cassandra.service.StorageService.onChange(StorageService.java:995)
>         at org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1568)
>         at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:819)
>         at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:897)
>         at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:43)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:57)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> {noformat}
> This doesn't repro if a non-trunk member is the seed, however upgrading the seed first
should still be valid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message