[ntuple] Add RPageSourceS3 for reading ntuples from S3 - #23066
Open
JasMehta08 wants to merge 1 commit into
Open
Conversation
JasMehta08
force-pushed
the
s3-page-source
branch
from
August 12, 2026 17:34
593d4d3 to
7486b7a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull request:
(Is a part of the GSoC 2026 project
S3 Backend for RNTuple.)Adds
RPageSourceS3.Changes or fixes:
RPageSourceS3implementing the basic read path:LoadStructureImplfetches the anchor from the base URL (HEAD for the size, then GET), verifies its checksum and reads the compressed header and footer;AttachImpldecompresses and deserializes them;LoadPageListImplandLoadClustersfetch page lists and pages.RCurlConnectionmembers rather than one:LoadClustersruns on the cluster pool's I/O thread whileLoadSealedPageImplruns on the caller's, and a libcurl easy handle cannot be driven by two threads at once. Splitting by role avoids a mutex, which would have held a lock across a network round trip and serialised prefetch against foreground reads.AttachImplcompares the requested ntuple name against the one in the header. The name addresses nothing in S3: one base URL holds one ntuple, but since URLs are built programmatically and there is no directory listing, the comparison asserts that the URL points at the intended data set. An empty name opts out.Checklist: