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

Regression on CASSANDRA-11416: can't load snapshots of tables with dropped columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.14, 3.11.0, 4.0-alpha1, 4.0
    • None
    • None
    • Normal

    Description

      I'm running Cassandra 3.10 and running into the exact same issue described in CASSANDRA-11416:

      1. A table is created with columns 'a' and 'b'
      2. Data is written to the table
      3. Drop column 'b'
      4. Take a snapshot
      5. Drop the table
      6. Run the snapshot schema.cql to recreate the table and the run the alter
      7. Try to restore the snapshot data using sstableloader

      sstableloader yields the error:
      java.lang.RuntimeException: Unknown column b during deserialization

      Attachments

        Activity

          People

            adelapena Andres de la Peña
            matt.kopit Matt Kopit
            Andres de la Peña
            Alex Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: