-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protect against and diagnose OrbitReset issues #7622
Conversation
This change adds the caching of the start-of-run and end-of-run timestamps in addition to the orbit-reset timestamp. It also validates that the calculated timestamp is within the run duration before adding it to the timestamp table. This ensures that only valid timestamps are used, improving the reliability of the data.
The changes introduce a new configurable option `fatalOnInvalidTimestamp` that allows the user to control the behavior when the timestamp information is not available in the CCDB. When set to `true`, the task will generate a fatal error, otherwise it will just log a warning. This gives the user more control over how to handle invalid timestamps. Additionally, the commit clarifies the meaning of the SOR/EOR timestamps, indicating that they can represent the start/end of the run, or the start/end of the sub-timeframe, depending on the run type.
Hi @chiarazampolli : I would still keep the same behaviour to avoid issues with the analysers, so I put a configurable that regulates the "fatalisation" on invalid BCs. As Ruben saw in the AO2Ds for the other run, we might have a few spurious BCs, but if they are not referred by other tables there is no point in issuing a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this is fine.
@ddobrigk Any comments from your side?
* Protect against and diagnose OrbitReset issues This change adds the caching of the start-of-run and end-of-run timestamps in addition to the orbit-reset timestamp. It also validates that the calculated timestamp is within the run duration before adding it to the timestamp table. This ensures that only valid timestamps are used, improving the reliability of the data. * Add configurable option to make invalid timestamps fatal The changes introduce a new configurable option `fatalOnInvalidTimestamp` that allows the user to control the behavior when the timestamp information is not available in the CCDB. When set to `true`, the task will generate a fatal error, otherwise it will just log a warning. This gives the user more control over how to handle invalid timestamps. Additionally, the commit clarifies the meaning of the SOR/EOR timestamps, indicating that they can represent the start/end of the run, or the start/end of the sub-timeframe, depending on the run type.
This change adds the caching of the start-of-run and end-of-run timestamps
in addition to the orbit-reset timestamp. It also validates that the
calculated timestamp is within the run duration before adding it to the
timestamp table. This ensures that only valid timestamps are used,
improving the reliability of the data.