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

Schema push/pull race

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.txt
          3 kB
          Jonathan Ellis
        2. 5025-v2.txt
          4 kB
          Jonathan Ellis
        3. 5025-v3.txt
          5 kB
          Chris Herron
        4. 5025-v4.txt
          5 kB
          Brandon Williams
        5. 5025-v5.txt
          5 kB
          Chris Herron

        Issue Links

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis Assign to me
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Jonathan Ellis
              Reviewers:
              Pavel Yaskevich

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment