Skip to content

[ntuple] Enable shared access to RNTupleFileWriter#21593

Open
silverweed wants to merge 2 commits into
root-project:masterfrom
silverweed:minifile_shared
Open

[ntuple] Enable shared access to RNTupleFileWriter#21593
silverweed wants to merge 2 commits into
root-project:masterfrom
silverweed:minifile_shared

Conversation

@silverweed

@silverweed silverweed commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Allow for multiple RNTupleFileWriters to share a single underlying Simple file. This is required for attribute writing support in Minifile-backed RNTuples.
The idea is turning all shared properties of RImplSimple into a shared_ptr-accessed struct which is referenced by all clones of a Writer. Access is strictly single-threaded but that's enough for attribute writing.

@silverweed silverweed self-assigned this Mar 13, 2026
@github-actions

github-actions Bot commented Mar 13, 2026

Copy link
Copy Markdown

Test Results

    20 files      20 suites   3d 7h 16m 7s ⏱️
 3 865 tests  3 862 ✅   0 💤  3 ❌
68 880 runs  68 765 ✅ 101 💤 14 ❌

For more details on these failures, see this check.

Results for commit c7f4119.

♻️ This comment has been updated with latest results.

@silverweed silverweed force-pushed the minifile_shared branch 2 times, most recently from 4df8bec to 0e31934 Compare March 17, 2026 10:26
@silverweed silverweed marked this pull request as ready for review March 18, 2026 09:55
@silverweed silverweed requested a review from jblomer as a code owner March 18, 2026 09:55
@silverweed silverweed requested review from enirolf and hahnjo March 18, 2026 09:55
@silverweed silverweed changed the title [do not merge] Enabling shared access to RMiniFileWriter [ntuple] Enable shared access to RMiniFileWriter Mar 18, 2026
@silverweed silverweed changed the title [ntuple] Enable shared access to RMiniFileWriter [ntuple] Enable shared access to RNTupleFileWriter Mar 18, 2026
@silverweed silverweed force-pushed the minifile_shared branch 2 times, most recently from 613f3e4 to f2c8fde Compare March 18, 2026 10:03

@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.

Thanks! Apologies for the huge reviewing delay!

Comment thread tree/ntuple/inc/ROOT/RMiniFile.hxx Outdated
Comment thread tree/ntuple/inc/ROOT/RMiniFile.hxx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants