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 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
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.