Code

Two-phase shutdown for rrdcached ensures that values are flushed.
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Aug 2009 09:27:13 +0000 (09:27 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 8 Aug 2009 09:27:13 +0000 (09:27 +0000)
commitcae0923259441a8f70683ca1b6d98d43b88d4ab7
tree87ebfb5771fcd5990be0f76635616fab8406b09e
parente54e33ab3bf6909b09d1a1c628c075e7e383df45
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
program/src/rrd_daemon.c