]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Generate a random cur_row for each RRA during
authorTobias Oetiker <tobi@oetiker.ch>
Tue, 19 Feb 2008 12:56:44 +0000 (12:56 +0000)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 19 Feb 2008 12:56:44 +0000 (12:56 +0000)
commitf44aa68777ccc8468831982c862689ed2611d293
tree4d38f658a472b784580a9ed287ce0a2366ea819d
parentf542b864130062ab84cd117d8e20259799af91ed
Generate a random cur_row for each RRA during
create/restore operations. This effectively randomizes the block crossings
among RRDs created around the same time. Previously, RRDs that were
created/restored en masse would cross block boundaries simultaneously, which
is sub-optimal.

Also, this patch enables the user to see the RRA's cur_row pointer via
rrdinfo. This was useful during debugging.

-- kevin brintnall kbrint qwest.net

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_create.c
src/rrd_info.c
src/rrd_restore.c