orientechnologies / orientdb

OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries.
https://orientdb.dev
Apache License 2.0
4.74k stars 871 forks source link

Big endian platform fixes #10197

Closed jonathan-albrecht-ibm closed 6 months ago

jonathan-albrecht-ibm commented 6 months ago

What does this PR do? This PR fixes two bugs that were found on big endian systems.

Motivation Bug fixes for big endian platforms.

Related issues May be related to: https://github.com/orientechnologies/orientdb/issues/9972 https://github.com/orientechnologies/orientdb/issues/10019

Additional Notes I added a unit test that triggers the bug in OPaginatedClusterV2 on big endian platforms. The bug in ODurablePage causes test failures in the CellBTreeMultiValueV2TestIT on big endian platforms.

Checklist [x] I have run the build using mvn clean package command [x] My unit tests cover both failure and success scenarios

tglman commented 6 months ago

Hi,

thankyou for this pr, will run the tests and hopefully merge this soon

jonathan-albrecht-ibm commented 6 months ago

Thanks for reviewing and merging @tglman!