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

Re: (ITS#6325) test054: test failed - producer and consumer databases differ



hyc@symas.com wrote:
> michael@stroeder.com wrote:
>> Download testrun/ here:
>>
>> http://www.stroeder.com/temp/openldap/its6325-test054-testrun.tar.gz
> 
> It's certainly a mystery. The *.flt shows that an entry is missing on the
> slave. The slapd.1.log shows that the provider sent the entry. The slapd.4.log
> shows that the consumer received the entry and ignored it. (See slapd.4.log
> line 3307-3313. Compare with the previously received entry, lines 3161-3169.)
> 
> The most puzzling part is that every code path in the consumer that rejects an
> entry logs an error message, and there is no error message in the log file.
> Without any means to reproduce this there's not much we can do. Setting a
> higher debug level might be useful, but any error messages in this path should
> have shown up regardless.

The same problem is in your ITS#6126 logs. The entry was received on the
consumer but skipped without any error message.

I see now, the entry was skipped because its CSN was too old. (And that CSN
too old message is only logged with SYNC debug is enabled.) This should be
fixed by the patch for ITS#6346.

It was also suggested that we should only reject mods if their CSN is actually
older than the target entry's CSN. That's still a possibility if the current
patch is insufficient.

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