In libcyr_cfg.h, the comment should say "ON" to match libcyr_cfg.c,
correct?
/* Checkpoint after every recovery (ON) */
CYRUSOPT_SKIPLIST_ALWAYS_CHECKPOINT,
On Mar 31, 2009, at 12:43 AM, br...@andrew.cmu.edu wrote:
Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/
brong/src/cyrus/lib
Modified Files:
cyrusdb_skiplist.c imapoptions libcyr_cfg.c libcyr_cfg.h
Log Message:
skiplist always checkpoint
Adds an option skiplist_always_checkpoint to force a checkpoint of
every skiplist database every time recovery is run (generally the
first
time it gets accessed after a cyrus restart, or after any crash)
The theory behind this is "repack it while it's hot" - recovery
already
accesses pretty much every page in the file, so the IO cost isn't too
bad.
===================================================================
--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/cyrusdb_skiplist.c.diff?r1=1.64&r2=1.65
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imapoptions.diff?r1=1.62&r2=1.63
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libcyr_cfg.c.diff?r1=1.16&r2=1.17
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libcyr_cfg.h.diff?r1=1.12&r2=1.13