[
https://issues.apache.org/jira/browse/CASSANDRA-13276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964196#comment-15964196
]
Andrés de la Peña commented on CASSANDRA-13276:
-----------------------------------------------
Here is the patch for 3.0.x, 3.x and trunk:
||[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:13276-3.0]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-3.0-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-3.0-dtest/]|
||[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:13276-3.11]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-3.11-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-3.11-dtest/]|
||[trunk|https://github.com/apache/cassandra/compare/trunk...adelapena:13276-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-trunk-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/adelapena/job/adelapena-13276-trunk-dtest/]|
And a new dtest can be found
[here|https://github.com/riptano/cassandra-dtest/compare/master...adelapena:CASSANDRA-13276].
Thanks for reporting the bug.
> Regression on CASSANDRA-11416: can't load snapshots of tables with dropped
> columns
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-13276
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13276
> Project: Cassandra
> Issue Type: Bug
> Reporter: Matt Kopit
> Assignee: Andrés de la Peña
> Fix For: 3.0.13, 3.11.0, 4.0
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)