Werk #4465: Fixed race condition when mulitple Check_MK helpers updated the ipaddresses.cache file

Component Checks & agents
Title Fixed race condition when mulitple Check_MK helpers updated the ipaddresses.cache file
Date Mar 25, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0b5 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Check helpers now lock the ipaddresses.cache file when they want to update an ip address. The locked file is read, updated with the new content and written afterwards. The race condition happened when multiple check helpers tried to update the file at the same time, hereby removing some recently looked up ip addresses.

To the list of all Werks