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)
commitd6493e16d7f4f452e9f2fdccfc84000143171ddb
treed067a4f7fcea205b08695fbf328ef3158d1f30f1
parentc3d19fcc2618e9ab67067b4145eef9ba00bd6e72
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/program@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c