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

Re: (ITS#5973) Syncrepl can update more than one csn value

rein@OpenLDAP.org wrote:
> Full_Name: Rein Tollevik
> Version: CVS HEAD
> OS: irrelevant
> URL:
> Submission from: (NULL) (
> Submitted by: rein
> Syncrepl can update more than one csn value in one operation,

False. An operation can only affect one entry. An entry has only one CSN 
(entryCSN is single-valued). Multiple changes may have occurred to an entry 
before a consumer sees it, but the consumer will only see the final result and 
only the last entryCSN.

On the other hand, multiple CSNs may have changed in the cookie that is 
transmitted to the consumer. That's a separate issue...

> but only one can
> be passed to syncprov in the csn queue.

> Syncprov should instead pick the
> updated values from the modify operation.
> A patch that fixes this is coming.  This patch depends on the ITS#5972 patch,
> and is required for the new test058 to succeed.
> Rein Tollevik
> Basefarm AS

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