Werk #4465: Fixed race condition when mulitple Check_MK helpers updated the ipaddresses.cache file
Komponente | Checks & agents |
Titel | Fixed race condition when mulitple Check_MK helpers updated the ipaddresses.cache file |
Datum | 25.03.2017 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.4.0b5 1.5.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.