Skip to content

Fix interaction between RSampleInfo and redirected EOS paths#17544

Merged
vepadulano merged 1 commit into
root-project:masterfrom
vepadulano:gh-17449
Jan 29, 2025
Merged

Fix interaction between RSampleInfo and redirected EOS paths#17544
vepadulano merged 1 commit into
root-project:masterfrom
vepadulano:gh-17449

Conversation

@vepadulano

@vepadulano vepadulano commented Jan 28, 2025

Copy link
Copy Markdown
Member

When the input files are paths to FUSE-mounted EOS files, during the event loop these paths will be redirected to the corresponding xroot EOS URL, in TFile::Open.

This was causing a bad interaction with the sample metadata and the subsequent usage in the event loop, e.g. through DefinePerSample. Specifically, we fill a map with the metadata at construction time, which includes the input file paths (without redirection). These will then be irretrievable during the event loop since the map key will not correspond to the redirected path. Fix this by also adding the redirected path during the filling of the map in ChangeSpec.

This PR fixes #17449

@TomasDado FYI, this is an alternative to #17537

@dpiparo

dpiparo commented Jan 28, 2025

Copy link
Copy Markdown
Member

@amadio

@amadio amadio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Vincenzo and I had a chat about the potential solution. This is one of the solutions we discussed. Looks good to me.

When the input files are paths to FUSE-mounted EOS files, during the event loop
these paths will be redirected to the corresponding xroot EOS URL, in
TFile::Open.

This was causing a bad interaction with the sample metadata and the subsequent
usage in the event loop, e.g. through DefinePerSample. Specifically, we fill a
map with the metadata at construction time, which includes the input file paths
(without redirection). These will then be irretrievable during the event loop
since the map key will not correspond to the redirected path. Fix this by also
adding the redirected map during the filling of the map in ChangeSpec.
@github-actions

Copy link
Copy Markdown

Test Results

    18 files      18 suites   4d 15h 40m 56s ⏱️
 2 683 tests  2 676 ✅ 0 💤 7 ❌
46 598 runs  46 591 ✅ 0 💤 7 ❌

For more details on these failures, see this check.

Results for commit 7d38680.

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.

[DF] Issues with RDataSpec paths using EOS

3 participants