Code

This patch ensures that the "FLUSH" command will write the updates out to
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 26 Sep 2008 05:10:25 +0000 (05:10 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 26 Sep 2008 05:10:25 +0000 (05:10 +0000)
commit69f4a7108f7c550df188d80a89d6c4a4030b8a05
treeef4f8d35be414f8396ff7cf30bbe76a9b1c6aeb4
parent82e69ea000f3eae703b9de8b76be09dce9060055
This patch ensures that the "FLUSH" command will write the updates out to
RRD before returning to the user.  Before, it returned when the update was
"dequeued"; updates were not necessarily on disk.

Also, for new nodes, the cache_lock is not held while we are setting up
the new node.  We don't want to be holding the lock if the stat() blocks.
--  kevin brintnal

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1527 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/doc/rrdcached.pod
program/doc/rrdflush.pod
program/src/rrd_daemon.c