Werk #14285: Fix frozen Microcore (Livestatus not responding) during config reloads

Component Core & setup
Title Fix frozen Microcore (Livestatus not responding) during config reloads
Date Jul 19, 2022
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.1.0p8 2.2.0b1
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks