-
Notifications
You must be signed in to change notification settings - Fork 21
DSP-24600 & CASSANDRA-20485 Fixes & test additions for handling of UDTs across versions #1980
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
Conversation
Checklist before you submit for review
|
|
Lot of merge conflicts in Two of these tests are failing: |
|
I see merge markers here |
…Ts across versions All big formats now have implicitly frozen tuples. Originally this was only an issue up to `me`, but C*'s `na` and `nb` formats are also implicitly frozen, are compatibility against them is required. Fix language around hasExplicitlyFrozenTuples versus hasImplicitlyFrozenTuples in TrieIndexFormat. Extends SSTableHeaderFix to only run when dropped multi-cell columns are detected. Add a StartupCheck preventing upgrades from <3.0.25 and <3.11.11, only used by HCD, to reduce the liklihood of unfixed sstable headers being introduced into a running cluster (it is best if the operator manually fixes these headers before the upgrade to HCD 1.x (CC4 / C* 4.0 based). Additional DSE tries legacy sstable data has been added in addition to the backport described below. Backport of CASSANDRA-20485, as follows: Add LegacySSTableTest data for past sstable formats Also add test method testVerifyOldTupleSSTables for frozen tuples and dropping of them. The test data also adds different versions of me format sstables from C* version 3.0.25 and 3.11.11 as they do (unfortunately) differ. Test sstable files have had their sequence generation ids changed to represent the server version used to create them, while this shouldn't be necessary it is for debug purposes when sstable formats have changed between versions. patch by Roxana Neophytou, Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-20485 Co-authored-by: mck <[email protected]>
7542f40 to
2294581
Compare
Oh, thanks. I fixed that and then I saw rat-check complaining about I pushed an updated branch now. |
|
❌ Build ds-cassandra-pr-gate/PR-1980 rejected by Butler5 regressions found Found 5 new test failures
Found 13 known test failures |
|
Heh, well now the test is complaining about it: |
Right, that's what I was describing in #1980 (comment)
And |
|
I created https://github.com/riptano/cndb/issues/15292 for the |


All big formats now have implicitly frozen tuples. Originally this was only an issue up to
me, but C*'snaandnbformats are also implicitly frozen, are compatibility against them is required. Fix language around hasExplicitlyFrozenTuples versus hasImplicitlyFrozenTuples in TrieIndexFormat.Extends SSTableHeaderFix to only run when dropped multi-cell columns are detected. Add a StartupCheck preventing upgrades from <3.0.25 and <3.11.11, only used by HCD, to reduce the liklihood of unfixed sstable headers being introduced into a running cluster (it is best if the operator manually fixes these headers before the upgrade to HCD 1.x (CC4 / C* 4.0 based).
Additional DSE tries legacy sstable data has been added in addition to the backport described below.
Backport of CASSANDRA-20485, as follows:
Add LegacySSTableTest data for past sstable formats
Also add test method testVerifyOldTupleSSTables for frozen tuples and dropping of them.
The test data also adds different versions of me format sstables from C* version 3.0.25 and 3.11.11 as they do (unfortunately) differ. Test sstable files have had their sequence generation ids changed to represent the server version used to create them, while this shouldn't be necessary it is for debug purposes when sstable formats have changed between versions.
patch by Roxana Neophytou, Mick Semb Wever; reviewed by Dmitry Konstantinov for CASSANDRA-20485