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

Re: slapo-unique man page misleading (ITS#5908)

ando@sys-net.it wrote:
> quanah@zimbra.com wrote:
>> --On January 28, 2009 10:39:41 PM +0000 Magne.Land@citrix.com wrote:
>>> Hi,
>>> Please see this thread for background info:
>>> http://www.openldap.org/lists/openldap-software/200901/msg00112.html
>>> To me, something is either guaranteed or not. And I think "enforce" means
>>> something that is guaranteed. In this case, the uniqueness is not
>>> guaranteed, therefore it is not enforced.
>> Set up slapo-accesslog on your master.  Then uniqueness is guaranteed.
> Are you sure about this?  I didn't look in detail to the code, so I
> can't tell whether serializing writes that way will cause the desired
> behavior, since slapo-unique is using internal writes.

Huh? slapo-unique only does internal searches. The writes are all user ops, 
and accesslog will serialize all of them.

>  As Gavin says,.
> if this is the case then it should be at least documented, and not only
> in slapo-unique, but also for any overlay/module that does internal writes.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/