Skip to content

AOD: add o2-aod-validator to find what interrupted writes leave behind - #16200

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr16200
Nov 26, 2026
Merged

ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr16200

Conversation

@ktf

@ktf ktf commented Nov 26, 2026

Copy link
Copy Markdown
Member

Checks AO2D files, local or alien://, for what an interrupted write or
merge leaves behind, reading only the metadata (one read per tree):

  • a file which was not closed (ROOT recovers its keys, but the DF
    folders come back without trees);
  • a file with no DF folder, or a DF folder with no tree;
  • a branch with fewer entries than its tree, or a basket with no size
    or location (a basket lost in a fast copy).
    --deep also checks that the key of every basket belongs to its branch.
    Exit code 0 if all files are fine, 1 if one has problems, 2 if one
    cannot be read.

Checks AO2D files, local or alien://, for what an interrupted write or
merge leaves behind, reading only the metadata (one read per tree):
- a file which was not closed (ROOT recovers its keys, but the DF
  folders come back without trees);
- a file with no DF folder, or a DF folder with no tree;
- a branch with fewer entries than its tree, or a basket with no size
  or location (a basket lost in a fast copy).
--deep also checks that the key of every basket belongs to its branch.
Exit code 0 if all files are fine, 1 if one has problems, 2 if one
cannot be read.
@ktf
ktf requested a review from a team as a code owner November 26, 2026 09:14
@ktf

ktf commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Debug command added. Merging.

@ktf
ktf merged commit 5bec4fe into AliceO2Group:dev Nov 26, 2026
11 checks passed
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