Branch: refs/heads/2.1.0
Home:
https://github.com/Checkmk/checkmk
Commit: 32d6cf44515234f9e5b6bba2ebf6db4455e7537e
https://github.com/Checkmk/checkmk/commit/32d6cf44515234f9e5b6bba2ebf6db445…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
A .werks/15970
M agents/plugins/mk_oracle
Log Message:
-----------
15970 FIX mk_oracle: Fix "Database or necessary processes not running or login
failed" error due to race conditions
mk_oracle stores the query results for SYNC_SECTIONS in intermediate cache files per SID,
which will be cleaned up afterwards.
Currently, these files can be erroneously deleted before the agent plugin has finished if
the agent plugin is started a second time, resulting in a "Database or necessary
processes not running or login failed" error.
This has been fixed by only deleting files created by the current process.
SUP-14813
Change-Id: Iff193dd842f72d4ddbb7652f9dbc1434494e2492