Code

RRDCacheD plugin: Try to reconnect upon failed operations.
authorSebastian Harl <sh@tokkee.org>
Sat, 24 Sep 2016 10:55:40 +0000 (12:55 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 24 Sep 2016 11:08:01 +0000 (13:08 +0200)
commit5818b2e6cb1fe66746375885419e9c75134f8cb6
treee82b83c936e71d52e8d7d7c297a520a0751bcaba
parentf7b05ebf3311b4c6cb5289f1f7cd8ee02918ef92
RRDCacheD plugin: Try to reconnect upon failed operations.

The RRD client library does not provide means to check the status of a
connection and there's no way to detect that the connection is broken after,
for example, the daemon restarted. To work around that, try to reconnect if
any client operation fails.

Reported via https://bugs.debian.org/657877
src/rrdcached.c