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

Multiple migrations might run at once

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical

      Description

      The service.MigrationManager class manages a MIGRATION_STAGE where nodes should execute db.migration.Migration instances.

      The problem is that the node that a client connects to via Thrift or Avro initiates the migration in their client thread (calls migration.apply). Instead, the Thrift and Avro clients should ensure that the migration occurs in MIGRATION_STAGE, and should block until the migration is applied by the stage.

        Attachments

          Activity

            People

            • Assignee:
              gdusbabek Gary Dusbabek
              Reporter:
              stuhood Stu Hood
              Authors:
              Gary Dusbabek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: