[Cyrus-CVS] src/cyrus/lib by brong

Matt Selsky selsky at columbia.edu
Wed May 6 21:03:01 EDT 2009


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, brong at 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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20090506/ff517a51/attachment.html 


More information about the Cyrus-devel mailing list