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 | a78dbfc073725a76ca28f8ae9f7a7ae9df34d2d3 | |
tree | 175f7e19592aeb7b6feaa932dea9e2ab7bbb26d1 | tree | snapshot |
parent | a60dc4778c6bd3c7d11f1a58fed2392dfc717a87 | 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/program@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/program@1527 a5681a0c-68f1-0310-ab6d-d61299d08faa
doc/rrdcached.pod | diff | blob | history | |
doc/rrdflush.pod | diff | blob | history | |
src/rrd_daemon.c | diff | blob | history |