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

Altering a UDT might break UDA deserialisation

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal
    • Since Version:

      Description

      CASSANDRA-10650 switched UDA's initcond serialisation in schema to its CQL literal. This means that if any particular field is renamed in the UDT, or of its type gets changes, we will not be able to parse initcond back.

      We should either:
      1) Forbid renames and type switches in UDTs that are being used in UDAs, or
      2) Make sure we alter the UDAs in schema alongside the new UDT at all times

        Attachments

        1. 10721-3.0.txt
          24 kB
          Benjamin Lerer

          Issue Links

            Activity

              People

              • Assignee:
                snazy Robert Stupp
                Reporter:
                aleksey Aleksey Yeschenko
                Authors:
                Robert Stupp
                Reviewers:
                Benjamin Lerer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: