Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 66c7a6f416fa6bba35b5b11862cfeb9372b9254e
https://github.com/Checkmk/checkmk/commit/66c7a6f416fa6bba35b5b11862cfeb937…
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