[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Deadlocks when writing in parallell (two processes)



--On Tuesday, April 01, 2008 1:43 PM +0200 Stelios Grigoriadis <stelios.xx.grigoriadis@ericsson.com> wrote:


I see in the code that a key (the same it seems to be) is repeatedly
written, and a comment is stating that
/* Don't worry if it's already there */ (line 862 in
servers/slapd/back-bdb/idl.c).

Is this to be expected or have we done something wrong?

It is to be expected.

In testing we did @ Zimbra, we found it to be substantially slower to do writes in parallel than to just serialize the writes. I suggest you rework your process. ;)

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration