Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2536

Schema disagreements when using connections to multiple hosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.6, 0.8.0 beta 2
    • None
    • None
    • Two node 0.8-beta1 cluster with one seed and JNA.

    • Low

    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.

      Attachments

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

        Activity

          People

            thobbs Tom Hobbs
            thobbs Tom Hobbs
            Tom Hobbs
            Jonathan Ellis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: