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