Commit 2477924
committed
Allow failed Transmogrifier containers
Why these changes are being introduced:
It was suggested in a previous PR that we raise an exception if ANY
Transmogrifier containers fail. This appeared to make sense from a data
integrity POV, ensuring that all input files were properly transformed
by Transmogrifier for analysis. In retrospect, this fell short in two ways:
1. For very large runs, a very small number of containers failing may be
admissible given the run will still contain valuable data and should
be allowed to continue.
2. More subtle, a failed Transmogrifier container may not be an intermittent
bug, but potentially an indication that a code change in Transmog is
problematic. The responsibility here should be for this application to
surface this in a meaningful way during analysis (out of scope here),
not halt the run completely.
How this addresses that need:
* Creates new env var ALLOW_FAILED_TRANSMOGRIFIER_CONTAINERS, that defaults
to 'true' in the Config class, to allow failed containers
* Continue with run even if failed containers are present
Side effects of this change:
* Runs with failed Transmog containers will continue.
Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-3831 parent 8c5fe22 commit 2477924
3 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments