Skip to content

AOD: report a lost storage connection as unreadable in o2-aod-validator - #16221

Open
ktf wants to merge 1 commit into
AliceO2Group:devfrom
ktf:pr16221
Open

ktf wants to merge 1 commit into
AliceO2Group:devfrom
ktf:pr16221

Conversation

@ktf

@ktf ktf commented Nov 27, 2026

Copy link
Copy Markdown
Member

When the connection to the storage drops in the middle of a file
("Invalid address", then "The remote file is not open"), TFile closes
the file and every later read fails. The validator reported each
remaining DF as "cannot read the folder" and counted it as a problem, so
the part of the file it could not read counted as damage:
LHC25a2b/7/527899/AOD/015 came out with 57 problems, of which 8 are
real. This happened to 8 of 20 files retried from the
job_error_files.list sample.

Check whether the file is still open before reporting a failed read of
a folder, a tree or (with --deep) a basket key. If it is not, print that
the connection was lost after N DFs and report the file as unreadable
(exit code 2), like a file which cannot be opened.

When the connection to the storage drops in the middle of a file
("Invalid address", then "The remote file is not open"), TFile closes
the file and every later read fails. The validator reported each
remaining DF as "cannot read the folder" and counted it as a problem, so
the part of the file it could not read counted as damage:
LHC25a2b/7/527899/AOD/015 came out with 57 problems, of which 8 are
real. This happened to 8 of 20 files retried from the
job_error_files.list sample.

Check whether the file is still open before reporting a failed read of
a folder, a tree or (with --deep) a basket key. If it is not, print that
the connection was lost after N DFs and report the file as unreadable
(exit code 2), like a file which cannot be opened.
@ktf
ktf requested a review from a team as a code owner November 27, 2026 07:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant