Skip to content

[df] Avoid registering any TFile#22168

Open
vepadulano wants to merge 1 commit intoroot-project:masterfrom
vepadulano:rdf-avoid-tfile-global-registration
Open

[df] Avoid registering any TFile#22168
vepadulano wants to merge 1 commit intoroot-project:masterfrom
vepadulano:rdf-avoid-tfile-global-registration

Conversation

@vepadulano
Copy link
Copy Markdown
Member

No description provided.

@vepadulano vepadulano requested a review from hageboeck May 7, 2026 06:38
@vepadulano vepadulano self-assigned this May 7, 2026
@vepadulano vepadulano requested a review from martamaja10 as a code owner May 7, 2026 06:38
{
fOutputFile.reset(
TFile::Open(fFileName.c_str(), fOptions.fMode.c_str(), /*ftitle=*/"", GetSnapshotCompressionSettings(fOptions)));
fOutputFile.reset(TFile::Open(fFileName.c_str(), (fOptions.fMode + "_WITHOUT_GLOBALREGISTRATION").c_str(),
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.

Do we ever risk appending _WITHOUT_GLOBALREGISTRATION twice? Most of the TFile code seems to cope with it fine, but not all of it (e.g.

((!strcasecmp(option, "READ") || !strcasecmp(option, "READ_WITHOUT_GLOBALREGISTRATION") || !option[0]) &&
)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That's a good point

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Test Results

    22 files      22 suites   3d 8h 51m 38s ⏱️
 3 850 tests  3 849 ✅ 0 💤 1 ❌
76 031 runs  76 029 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit 733248e.

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