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

Toughen up column drop/recreate validations in 3.0/3.11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.19, 3.11.5
    • Cluster/Schema
    • None
    • Correctness - Recoverable Corruption / Loss
    • Normal
    • Normal
    • Code Inspection
    • All
    • None
    • Hide

      New unit tests

      Show
      New unit tests

    Description

      After CASSANDRA-8099 it’s no longer possible to safely drop/add columns with incompatible types. In 4.0 we validate this correctly, but in 3.0 we don’t,
      and that can result in unreadable sstables (corrupted serialization headers causing simple columns to be read as complex or vice versa).

      This patch brings 3.0 in line with 4.0 restrictions, making such corruption impossible.

      Attachments

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: