[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5077) syncrepl.add_cmp() infinite loop on swapped values
Donn Cave wrote:
> On Aug 10, 2007, at 2:16 PM, Howard Chu wrote:
>> Now fixed in HEAD, please test.
>
> Aug 10 15:06:55 rufus03 slapd[31488]: null_callback : error code 0x14
> Aug 10 15:06:55 rufus03 slapd[31488]: syncrepl_entry: rid=101
> be_modify (20)
> Aug 10 15:06:55 rufus03 slapd[31488]: syncrepl_entry: rid=101
> be_modify failed (20)
>
> I could put some more research into this, but tell me if this
> doesn't make sense. Suppose this mysteriously swapped order:
> a,b,...
> b,a,...
>
> Your fix increments the first list's index, so next iteration it's
> b,...
> b,a,...
>
> which is fine, but next iteration is
> ...
> a,...
>
> "a" looks new at this point, and I try to add it, but it isn't new -
> we just forgot that it was in "old" - and I get error 0x14
> (LDAP_TYPE_OR_VALUES_EXISTS)
OK, this should be working now.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/