Code

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)
commit0595044bb29c5babe84f2bb41f282e69ff6303d1
tree860e636777f01da2e4406378be11bff57c885c7c
parent9f331d5bac45d91e8e79b99ad5037be788e4f1db
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/branches/1.2/program@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_create.c
src/rrd_info.c
src/rrd_restore.c