-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ntuple] remove checksum field from anchor #15553
[ntuple] remove checksum field from anchor #15553
Conversation
...instead of relying on ReadClassBuffer(). This is necessary for schema evolution with RNTuple's custom streamer.
Checksum is now excluded from the on-disk representation and it's not stored in the anchor. This allows to leverage the ROOT I/O machinery for schema evolution rather than having to rely entirely on custom code in RNTuple::Streamer(). The RNTuple class version gets bumped from 4 to 5. This is a breaking change, but backwards compatibility with version 4 will be preserved for a while for easing the transition. Support for version 4 will be dropped before stabilization.
effb3ac
to
3b6f0d1
Compare
64 was missing the 2 bytes of the version
Test Results 9 files 9 suites 2d 4h 3m 21s ⏱️ For more details on these failures, see this check. Results for commit ddc93d0. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle looks good to me, only minor comments.
Checksum is now excluded from the on-disk representation and it's not
stored in the anchor. This allows to leverage the ROOT I/O machinery for
schema evolution rather than having to rely entirely on custom code in
RNTuple::Streamer().
The RNTuple class version gets bumped from 4 to 5.
This is a breaking change, but backwards compatibility with version 4
will be preserved for a while for easing the transition. Support for
version 4 will be dropped before stabilization.
Checklist: