Cyrus 2.3.12 RC1
Bron Gondwana
brong at fastmail.fm
Wed Apr 9 07:36:10 EDT 2008
On Tue, Apr 08, 2008 at 10:20:57AM -0400, Ken Murchison wrote:
> I just put together a release candidate for Cyrus 2.3.12. I'd
> appreciate any independent testing before I release this to the masses.
>
> http://www.contrib.andrew.cmu.edu/~murch/cyrus-imapd-2.3.12rc1.tar.gz
Notably missing:
http://cyrus.brong.fastmail.fm/patches/cyrus-skiplist-transactions-2.3.10.diff
This is the code that makes it impossible to accidentally start a new
transaction while still in a transaction on the same file.
I've re-rolled it to apply directly on top of 2.3.12rc1 so it should
apply cleanly to CVS as well...
The "already open" stuff is necessary, because otherwise you wind up
with two different sets of information about which locks you are
holding - but at least on linux, if you fcntl lock a file and then
relock the same range of the same file from the same process, the
second lock overrides the first one, so a read lock (or unlock) from
one "database" could nuke the write lock held by the other copy.
It appears that there are two different copies of the seen database
still being opened somewhere in the code. I haven't tracked that
down yet...
I am quite happy however to remove the syslog statement so we don't
confuse people. The multiple open handing hasn't caused any issues
here at FastMail, and we've been running this patch for months now.
----
in other things - I haven't tested the rest of the code yet - I
just thought I'd double-triple-check for this one, since we started
seeing corruptions on 2.3.11 when I assumed it had been included
without checking!
Bron.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-skiplist-transactions-2.3.12rc1.diff
Type: text/x-diff
Size: 11190 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20080409/60d86e02/attachment.bin
More information about the Cyrus-devel
mailing list