Issue Number | 4948 |
---|---|
Summary | [Internal] Make Emergency Timeout Configurable |
Created | 2021-02-24 12:55:39 |
Issue Type | Improvement |
Submitted By | Englisch, Volker (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2021-05-13 14:51:36 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.285528 |
On occasion our publishing job looses database connectivity and stops processing documents but it continues to run. For these situations we implemented a "runaway job cancellation". The amount of time we wait until we declare the job failed is set to 3 hours which works well for the weekend job. For the nightly job which finishes in about 15-25 minutes I'd like to be able to interrupt the job sooner.
Bob suggested to make modifying this timeout configurable.
Ready to be tried out on DEV. You can set the Publishing group value with the name "-wait_seconds" prefixed by the publishing subset name. For example:
I'm wondering why the Name values is "Interim-Export-wait_seconds" and not "Interim-Export-wait-seconds"? (dash vs. underscore)
I've adjusted the setting for the publishing job to fail after 2 minutes and it successfully cancelled the job.
Works as expected!
I will change the name so that it uses hyphens instead of underscores.
I swapped out the underscore for a hyphen in the control value name.
I can't find the new option Interim-Export-wait-seconds on QA to test this change.
It only exists if you create it. That's why it's called an option. 😛
The publishing job fails based on the specified timeout value.
I've modified the nightly publishing export job to cancel execution after 60 minutes if not done. I will close this ticket tomorrow after the job finished successfully but I won't wait until we experience the first "runaway job" for which this ticket had been created.
The publishing job finished successfully last night. Closing ticket.
File Name | Posted | User |
---|---|---|
image-2021-05-07-19-59-07-713.png | 2021-05-07 19:59:08 | Kline, Bob (NIH/NCI) [C] |
Elapsed: 0:00:00.001454