author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Aug 2009 09:27:13 +0000 (09:27 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Aug 2009 09:27:13 +0000 (09:27 +0000) | ||
commit | cae0923259441a8f70683ca1b6d98d43b88d4ab7 | |
tree | 87ebfb5771fcd5990be0f76635616fab8406b09e | tree | snapshot |
parent | e54e33ab3bf6909b09d1a1c628c075e7e383df45 | commit | diff |
Two-phase shutdown for rrdcached ensures that values are flushed.
Previously, it was possible for the queue threads to exit before the flush
thread completed queueing values. If running with -F, rrdcached may have
crashed due to assertion failure before writing all values. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
Previously, it was possible for the queue threads to exit before the flush
thread completed queueing values. If running with -F, rrdcached may have
crashed due to assertion failure before writing all values. -- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c | diff | blob | history |