Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASSANDRA-20394 – Restore SSTableHeaderFix for use with StandaloneScrubber for offline upgrade compatibility #3945

Open
wants to merge 3 commits into
base: cassandra-5.0
Choose a base branch
from

Conversation

michaelsembwever
Copy link
Member

Restore SSTableHeaderFix for use with StandaloneScrubber for offline upgrade compatibility

Add fixes & test additions for frozen UDTs (+elements) in sstables from <=me and 3.0.x

Extends SSTableHeaderFix to only run when dropped multi-cell columns are detected. Add a StartupCheck for fail-fast prevention of upgrades from <4.0

Add LegacySSTableTest method testVerifyOldTupleSSTables for frozen tuples, and dropping columns, and data for different sstable formats, including schema to include UDTs and non-frozen variants. Adds different versions of me format sstables from C* version 3.0.25 and 3.11.11

@michaelsembwever
Copy link
Member Author

michaelsembwever commented Mar 3, 2025

todo

  • - check the second commit
  • - check negative failures
  • - remove the non-OSS test data

@michaelsembwever michaelsembwever changed the title Restore SSTableHeaderFix for use with StandaloneScrubber for offline upgrade compatibility CASSANDRA-20394 – Restore SSTableHeaderFix for use with StandaloneScrubber for offline upgrade compatibility Mar 4, 2025
roxananeo and others added 3 commits March 4, 2025 12:21
…upgrade compatibility

Add fixes & test additions for frozen UDTs (+elements) in sstables from <=me and 3.0.x

Extends SSTableHeaderFix to only run when dropped multi-cell columns are detected.  Add a StartupCheck for fail-fast prevention of upgrades from <4.0

Add LegacySSTableTest method testVerifyOldTupleSSTables for frozen tuples, and dropping columns, and data for different sstable formats, including schema to include UDTs and non-frozen variants. Adds different versions of me format sstables from C* version 3.0.25 and 3.11.11

 patch by Roxana Neophytou, Mick Semb Wever; reviewed by Jacek Lewandowski for CASSANDRA-xxx

Co-authored-by: mck <mck@apache.org>
Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants