Werk #14285: Fix frozen Microcore (Livestatus not responding) during config reloads
Komponente | Core & setup |
Titel | Fix frozen Microcore (Livestatus not responding) during config reloads |
Datum | 19.07.2022 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk-Version | 2.1.0p8 2.2.0b1 |
Level | Bedeutende Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
The reload of the Microcore core and it's helper processed could freeze when the core had notifications pending during reload. This was caused by a deadlock between the Notification helper and the Microcore. The Microcore was still alive but waiting to the notification helper to terminate while the notification helper waited for the Microcore.
From the user perspective this resulted in Livestatus not being responsive while the cmc.log showed a message like: still X unsent events, sending them now.