missing directories when using berkeley for seenstate_db

Thilo Uttendorfer t.uttendorfer at linux-ag.com
Wed Jan 11 12:40:06 EST 2012


On Wednesday 11 January 2012 at 18:01:20, Bron Gondwana wrote:
> On Wed, Jan 11, 2012 at 03:54:29PM +0100, Thilo Uttendorfer wrote:
> > I recently switched the seenstate_db from skiplist to berkeley. It seems
> > that the creation of directories is missing. I'm getting errors like
> > this:
>
> Why would you do that?  Berkeley is being removed due to
> difficult in upgrading.  I don't expect you will get
> measurable benefits.
>
>[...]
> Just out of interest - what version are you running?

I didn't know that berkeley is beeing removed, so skiplist will be the only 
supported format?

We are using (kolab-) cyrus 2.2. The reason why we're using berkeley is that 
it is (was?) recommended instead of skiplist, but that information is maybe 
outdated. Nevertheless, we recently ran into corrupted seenstate files for 
the first time (we usually had problems with corrupted mailboxes.db und 
annotations.db). So we changed the seenstate file to berkeley as well - and 
got the problems with the directories.

I just had a look at the kolab changelog and found this:
-----------
kolabd-2.2.3-20091217

	kolab/issue840  (Annotations needs to be more robust (skiplist
	                 problems)) as the now integrated imapd-2.3.13
	                 (see below) has additional skiplist fixes and
	                 the switch to berkeley-db for mailboxes.db
	                 and annotations.db introduced new problems we
	                 switched back to skiplist as default.
-----------

So yes, my patch won't make much sense in recent installations.


Regards,
Thilo Uttendorfer


-- 
Thilo Uttendorfer
Linux Information Systems AG
Putzbrunner Str. 71, 81739 München

Fon: +49 89 993412-11, Fax: +49 89 993412-99
t.uttendorfer at linux-ag.com, http://www.linux-ag.com


More information about the Cyrus-devel mailing list