Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 51efd0dd0d0d173f8ae165a0cad9bfc1da8ec337
https://github.com/tribe29/checkmk/commit/51efd0dd0d0d173f8ae165a0cad9bfc1d…
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