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)
commit40913a40626ab79dbce878446dd29080d7831d7f
tree81c7cd4b5a3a5e97b2ab2d7363f3791ff95733a4
parent085172dbeb7c1ea174e6bed89d2bcad402409211
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@1290 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_create.c
program/src/rrd_info.c
program/src/rrd_restore.c