You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#37518267 Improve data node thread watchdog shutdown handling
Backport to 7.6
Two changes :
1. Have node error handling set thread watchdog
state prior to attempting to serialise or log
error details to files.
This helps users understand whether Watchdog
logs indicate a detected overload, or whether
they indicate a delay in shutting down a
data node.
2. Have the Watchdog thread treat 'slow logging'
as a special case.
If a registered thread exceeds its time allowance
in a shutdown logging state then the watchdog directly
calls NdbShutdown(), which is more likely to lead
to an immediate process exit.
This improves the system's ability to force a
timely process failure (and subsequent restart)
potentially at the expense of some logging.
Test coverage by testNodeRestart -n WatchdogSlowShutdown
is enhanced to cover another case.
Error injection coverage of data node shutdown is refactored
to enable future extensions.
Change-Id: I57eabbdb04423409d0aae1b6e548013a7088f4d0
0 commit comments