You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sergio Bossa (JIRA)" <ji...@apache.org> on 2014/02/07 15:33:22 UTC

[jira] [Updated] (CASSANDRA-6678) Unwanted schema pull while upgrading nodes from 1.2 to 2.0

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

Sergio Bossa updated CASSANDRA-6678:
------------------------------------

    Attachment: CASSANDRA-6678-2_0.patch
                CASSANDRA-6678-1_2.patch

Attached patches for 1.2 and 2.0.

> Unwanted schema pull while upgrading nodes from 1.2 to 2.0
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-6678
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6678
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Sergio Bossa
>         Attachments: CASSANDRA-6678-1_2.patch, CASSANDRA-6678-2_0.patch
>
>
> While upgrading from 1.2 to 2.0, the 1.2 nodes are not supposed to pull schemas from upgraded 2.0 nodes to avoid conflicts.
> This relies on network version checks between the two nodes, but there's a bit of a race between the Gossiper, which is activated first, and the MessagingService, which is activated after the Gossiper and handles network version exchange: if a 1.2 node Gossiper gets a gossip message from a newly 2.0 node *before* opening connections from the MessagingService, the version will still be 1.2, and the schema will be pulled from the new node.
> A possible solution may be to have the Gossiper update the network version upon receiving the first gossip message of an upgraded node: thoughts?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)