<<< Date Index >>>     <<< Thread Index >>>

Re: Maildir header cache now supports imap, too



On Fri, Aug 06, 2004 at 01:53:34PM +0200, Thomas Glanzmann wrote:

> bottom line: The header cache doesn't add any 'locking mechanisms' to
> maildir nor to any other mailboxes it will support some day (currently
> maildir and imap). Maildirs stay NFS safe.

Yeah, we need to lock DB files but we don't need to lock mailboxes.
I removed/added message files in a Maildir while hcache-mutt was opening
the Maildir, and no failure happened.

So, Thomas(TLR), you no longer have any reason to dislike header-cache? ;)



For DB4, sleepycat document says we can even use concurrent access mode
although this seems not NFS-safe...
        ( http://www.sleepycat.com/docs/ref/cam/intro.html )
And I've just found DB_LOG_AUTOREMOVE mode
        ( 
http://www.sleepycat.com/docs/api_c/env_set_flags.html#DB_LOG_AUTOREMOVE )
which seems to keep db file small in size.
Are there any DB4 guru to improve the patch?
(Although I'm satisfied with the current patch. :)

-- 
tamo