Cassandra
  1. Cassandra
  2. CASSANDRA-2536

Schema disagreements when using connections to multiple hosts

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.7.6, 0.8.0 beta 2
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Two node 0.8-beta1 cluster with one seed and JNA.

      Description

      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.

      1. 2536-compare-timestamp.txt
        0.8 kB
        Tyler Hobbs
      2. schema_disagree.py
        1 kB
        Tyler Hobbs

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tyler Hobbs
            Reporter:
            Tyler Hobbs
            Reviewer:
            Jonathan Ellis
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development