]> granicus.if.org Git - icinga2/commit
Fix deadlock in GraphiteWriter 6770/head
authorMichael Insel <michael@insel.email>
Mon, 12 Nov 2018 19:09:44 +0000 (19:09 +0000)
committerMichael Insel <michael@insel.email>
Mon, 12 Nov 2018 19:12:40 +0000 (20:12 +0100)
commitb0cf92fd173d5fe96095f9ebb1feaf13d7526cfd
tree8e756185b59157f5863feb3779dda32ac73d1789
parent90de216cbbb2113f8538479bda804f5c92f46159
Fix deadlock in GraphiteWriter

This fixes a deadlock in the GraphiteWriter feature, which is visible
during the reload process. The reload thread waits for the
GraphiteWriter to finish, but the GraphiteWriter can't finish because
it's stuck in `SendMetric()` waiting for a lock which is hold by the
reload thread.
lib/perfdata/graphitewriter.cpp
lib/perfdata/graphitewriter.hpp