author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Sep 2008 05:10:25 +0000 (05:10 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Sep 2008 05:10:25 +0000 (05:10 +0000) | ||
commit | 69f4a7108f7c550df188d80a89d6c4a4030b8a05 | |
tree | ef4f8d35be414f8396ff7cf30bbe76a9b1c6aeb4 | tree | snapshot |
parent | 82e69ea000f3eae703b9de8b76be09dce9060055 | commit | diff |
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
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 | diff | blob | history | |
program/doc/rrdflush.pod | diff | blob | history | |
program/src/rrd_daemon.c | diff | blob | history |