Werk #15100: re-use of context in multiple threads in activate changes

Component Core & setup
Title re-use of context in multiple threads in activate changes
Date Oct 19, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When running "activate changes", a "context" object is created and passed to multiple threads. The concurrent use of this context is not supported and can lead to crashes.

As a fix, now every thread receives their own copy of the context leading to complete isolation of the threads.

No further action is required to activate the fix.

To the list of all Werks