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

Schema push/pull race

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.1.8
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      When a schema change is made, the coordinator pushes the delta to the other nodes in the cluster. This is more efficient than sending the entire schema. But the coordinator also announces the new schema version, so the other nodes' reception of the new version races with processing the delta, and usually seeing the new schema wins. So the other nodes also issue a pull to the coordinator for the entire schema.

      Thus, schema changes tend to become O in the number of KS and CF present.

        Attachments

        1. 5025-v5.txt
          5 kB
          Chris Herron
        2. 5025-v4.txt
          5 kB
          Brandon Williams
        3. 5025-v3.txt
          5 kB
          Chris Herron
        4. 5025-v2.txt
          4 kB
          Jonathan Ellis
        5. 5025.txt
          3 kB
          Jonathan Ellis

          Issue Links

            Activity

              People

              • Assignee:
                jbellis Jonathan Ellis
                Reporter:
                jbellis Jonathan Ellis
                Authors:
                Jonathan Ellis
                Reviewers:
                Pavel Yaskevich
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: