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

Allow Concurrent Schema Migrations

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 1.1.0
    • None
    • None

    Description

      CASSANDRA-1292 fixed multiple migrations started from the same node to properly queue themselves, but it is still possible for migrations initiated on different nodes to conflict and leave the cluster in a bad state. Since the system_add/drop/rename methods are accessible directly from the client API, they should be completely safe for concurrent use.

      It should be possible to allow for most types of concurrent migrations by converting the UUID schema ID into a VersionVectorClock (as provided by CASSANDRA-580).

      Attachments

        1. CASSANDRA-1391-v2.patch
          212 kB
          Pavel Yaskevich
        2. CASSANDRA-1391.patch
          200 kB
          Pavel Yaskevich
        3. 1391-rebased.txt
          205 kB
          Jonathan Ellis
        4. 0002-CASSANDRA-1391-fixes.patch
          28 kB
          Pavel Yaskevich
        5. 0001-CASSANDRA-1391-main.patch
          203 kB
          Pavel Yaskevich

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xedin Pavel Yaskevich Assign to me
            stuhood Stu Hood
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment