[checkmk-commits] [tribe29/checkmk] a1d84b: Fix race condition when cleaning up host files

Lars noreply at github.com
Fri Jun 14 14:50:36 CEST 2019


  Branch: refs/heads/1.6.0
  Home:   https://github.com/tribe29/checkmk
  Commit: a1d84bb3bb75f4e164f820a652a09353300f0373
      https://github.com/tribe29/checkmk/commit/a1d84bb3bb75f4e164f820a652a09353300f0373
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M cmk_base/automations/check_mk.py

  Log Message:
  -----------
  Fix race condition when cleaning up host files

When removing a host in Checkmk via WATO, the automation to
delete the related host files is called. This automation could
fail deleting files because of a race condition.

The code has been cleaned up a bit and the race condition has
been fixed.

Change-Id: Ibbf0a200c1a84545a10b520969d508159a63e71f




More information about the checkmk-commits mailing list