Repository navigation
Commit 036086c
committed
AOD: report a lost storage connection as unreadable in o2-aod-validator
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.1 parent 95393a0 commit 036086c
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
| |||
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
78 | 93 | | |
79 | 94 | | |
80 | 95 | | |
| |||
97 | 112 | | |
98 | 113 | | |
99 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
100 | 118 | | |
101 | 119 | | |
102 | 120 | | |
| |||
0 commit comments