Closed davidhwyllie closed 3 years ago
An alternative approach would be to use a linux specific approach (such as /etc/init.d) to ensure the process restarts if it crashes
Trapped errors in database connection components, and built unit tests ensuring these were correctly trapped
Resolved by PR #108
At present, it is possible that if database connectivity fails, fn4_lockmonitor may terminate. This may prevent fn4_lockmonitor unlocking any persistent locks which may have resulted from server crashes.
We need to set up tests to simulate database connectivity errors and ensure the fn4_lockmonitor behaves appropriately.