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

Forbid re-adding static columns as regular and vice versa

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0
    • Component/s: Cluster/Schema
    • Labels:
      None
    • Severity:
      Normal

      Description

      Re-adding a dropped column with an incompatible kind (dropped regular re-added as static, or dropped static re-added as regular) can ultimately result in corruption (see CASSANDRA-14843 for more context). In 3.x, unfortunately, we don’t persist enough context when dropping a column. In trunk, however, we do, and it’s trivial to forbid this operation, as we should.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aleksey Aleksey Yeschenko
                Reporter:
                aleksey Aleksey Yeschenko
                Authors:
                Aleksey Yeschenko
                Reviewers:
                Benedict Elliott Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: