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 | d6493e16d7f4f452e9f2fdccfc84000143171ddb | |
tree | d067a4f7fcea205b08695fbf328ef3158d1f30f1 | tree | snapshot |
parent | c3d19fcc2618e9ab67067b4145eef9ba00bd6e72 | 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/program@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/program@1880 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c | diff | blob | history |