Generate a random cur_row for each RRA during
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 19 Feb 2008 12:56:44 +0000 (12:56 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 19 Feb 2008 12:56:44 +0000 (12:56 +0000)
commitf4fd83170248b7945de8105a0ecbe13e11dbbcfe
tree4d38f658a472b784580a9ed287ce0a2366ea819d
parent8fafd09727d58545c1229ca84b94f0082af6a528
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