Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b44abe68f4fb5943ff89a91000bcf31fdfc037ac
https://github.com/tribe29/checkmk/commit/b44abe68f4fb5943ff89a91000bcf31fd…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-08-29 (Mon, 29 Aug 2022)
Changed paths:
A .werks/14732
Log Message:
-----------
14732 FIX cmk-update-agent: Retry locking
The agent updater is designed to have no more than one instance running
at a time on a host. This is implemented by holding a file lock while running.
We recently observed that a lock may sometimes fail briefly after it was
released by a previous agent updater instance, possibly due to some anti virus
software.
To mitigate this situation, the locking is now retried 10 times before aborting
the agent updater call.
Change-Id: Ib7952650460b73b4f6317a2b18fa5ecd3580f08d