Skip to content

[ntuple] Add S3 anchor and its tests for S3 backend#22470

Merged
jblomer merged 1 commit into
root-project:masterfrom
JasMehta08:ntuple-s3-anchor
Jun 15, 2026
Merged

[ntuple] Add S3 anchor and its tests for S3 backend#22470
jblomer merged 1 commit into
root-project:masterfrom
JasMehta08:ntuple-s3-anchor

Conversation

@JasMehta08

Copy link
Copy Markdown
Contributor

This Pull request:

(Is a part of the GSoC 2026 project S3 Backend for RNTuple.)

Creates the anchor for the S3 backend.

Changes or fixes:

  • Adds S3NTupleAnchor struct, using JSON to store the anchor data.
  • Adds ROOT_BUILD_OPTION(s3 OFF "Enable RNTuple support for S3-compatible object storage")to conditionally compile.
  • Adds tests that cover round-trip, version guard, malformed input, type mismatches, boundary values, and forward compatibility.

Checklist:

  • tested changes locally

@JasMehta08

Copy link
Copy Markdown
Contributor Author

@jblomer

I have made the changes so that the build for S3 backend only occurs when curl is present, and removed the s3 flag.

@jblomer jblomer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
Comment thread tree/ntuple/src/RPageStorageS3.cxx Outdated
Comment thread tree/ntuple/CMakeLists.txt Outdated
Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 12h 13m 20s ⏱️
 3 865 tests  3 860 ✅ 0 💤 5 ❌
76 334 runs  76 329 ✅ 0 💤 5 ❌

For more details on these failures, see this check.

Results for commit bdfbf14.

♻️ This comment has been updated with latest results.

@JasMehta08 JasMehta08 force-pushed the ntuple-s3-anchor branch 2 times, most recently from 77b7180 to 7a7616f Compare June 9, 2026 11:46
@JasMehta08

Copy link
Copy Markdown
Contributor Author

@jblomer

I have made the update according to the comments

@jblomer jblomer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (but see the clang-format report)

Comment thread tree/ntuple/inc/ROOT/RPageStorageS3.hxx Outdated
@JasMehta08

JasMehta08 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@jblomer

I have made the change in the small comment which had issue with Clang format

@JasMehta08

Copy link
Copy Markdown
Contributor Author

@jblomer

Please have a review and let me know if there are any changes remaining,

Thanks!

@jblomer jblomer merged commit ce2ea4c into root-project:master Jun 15, 2026
79 of 83 checks passed
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