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

UDF use new schema migration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.2.0 beta 1
    • None
    • None
    • Normal

    Description

      UDF is the "prototype candidate" for new, fine granular schema migration.

      On the basic level, everything stays the same, more or less, except:

      1. We might use separate versioning for migration messages (in addition to the messaging version)
      2. For DROP X changes, we only encode what's necessary (the keyspace name, the table name, the timestamp). Not to save bytes, but to avoid going through a full schema merge on the node.
      3. Include the type of change with all other schema changes, for the same reason.
      4. For schema pulls, use a merkle tree or something similar, to only pull/apply the relevant changes.

      Attachments

        Issue Links

          Activity

            People

              snazy Robert Stupp
              snazy Robert Stupp
              Robert Stupp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: