[Dovecot] Solution: NFS & Dovecot!

Apps Lists appslists at neonova.net
Wed May 3 16:51:54 EEST 2006


Hi folks!

It looks like Timo nailed down the NFS issues we've been seeing here in
last night's CVS build.

Anyone running Dovecot in a high-usage environment should check this out.

Here are some relevant ChangeLog updates that seem to address the problem:

2006-05-02 11:11  Timo Sirainen <timo.sirainen at movial.fi>

	* src/lib-storage/index/maildir/: maildir-save.c,
	  maildir-storage.h, maildir-sync.c, maildir-uidlist.c,
	  maildir-uidlist.h: Adding mail to index while saving it had a
	  race condition. Fixing it required a bit larger changes. Switched
	  uidlist/index locking order so that uidlist is now locked first.

2006-05-02 11:04  Timo Sirainen <timo.sirainen at movial.fi>

	* src/lib-index/: mail-index-private.h, mail-index-sync-update.c,
	  mail-index.c: mmap_disable: When syncing in-memory index from
	  transaction log, we didn't skip external transactions which were
	  already been in our in-memory mapping, causing "Append with UID
	  n, but next_uid = m" errors.

The build is available here:

http://dovecot.org/nightly/dovecot-20060503.tar.gz

Thus far, I've seen no complaints of corrupted indexes or core dumps. 
This is absolutely fantastic.

As always... hats off to Timo.  Great work!

Steve




More information about the dovecot mailing list