Werk #14199: Rule evaluation: Fixed unnecessary reloading of host labels

Component Checks & agents
Title Rule evaluation: Fixed unnecessary reloading of host labels
Date May 10, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Every rule that used labels resulted in a complete reload of all host labels from the hard disk. So if you had 10 rules using labels and 1000 hosts, 10000 files were opened during rule evaluation.

To the list of all Werks