You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On every Checkable::OnNewCheckResult, PerfdataWriter::CheckResultHandler locks m_StreamMutex and writes to HDD. This blocks Checkable::OnNewCheckResult callers, e.g Checkable::ProcessCheckResult().
Describe the bug
On every Checkable::OnNewCheckResult, PerfdataWriter::CheckResultHandler locks m_StreamMutex and writes to HDD. This blocks Checkable::OnNewCheckResult callers, e.g Checkable::ProcessCheckResult().
To Reproduce
icinga2/lib/perfdata/perfdatawriter.cpp
Lines 56 to 58 in e50eb52
icinga2/lib/perfdata/perfdatawriter.cpp
Lines 97 to 129 in e50eb52
Expected behavior
The actual work is put in a WorkQueue, exactly like GraphiteWriter does. Then Checkable::OnNewCheckResult() can return early.
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): e50eb52Additional context
ref/NC/820479
The text was updated successfully, but these errors were encountered: