Skip to content

[CASSANDRA-20190][5.0] MemoryUtil.setInt/getInt and similar use the wrong endianness #4093

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

Closed
wants to merge 1 commit into from

Conversation

netudima
Copy link
Contributor

Add NativeEndianMemoryUtil, move all methods which uses (or should) native endian
Switch offheap memtable primitive fields serialization/deserialization to NativeEndianMemoryUtil

Patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Michael Semb Wever for CASSANDRA-20190

…e-related off-heap objects and Memory to use them and have Little Endian now.

Add BE offsets detection on Summary loading.
Add test SSTables in an old format with BE offsets in Summary component to LegacySSTableTest.

Patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Michael Semb Wever for CASSANDRA-20190
@netudima netudima force-pushed the CASSANDRA-20190-5.0 branch from cb1a4a7 to 047f38a Compare April 24, 2025 10:23
@netudima netudima closed this Apr 24, 2025
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