[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6716) syncprov sessionlog 'sl_mincsn' not assigned a value.
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6716) syncprov sessionlog 'sl_mincsn' not assigned a value.
- From: cmikk@qwest.net
- Date: Wed, 15 Dec 2010 23:32:19 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
On Sun, Dec 12, 2010 at 06:22:38PM +0100, Rein Tollevik wrote:
> On 11/19/10 23:55 , cmikk@qwest.net wrote:
>
> >will evaluate to true in cases where it should not. A quick fix would be to
> >compare directly against the CSN of the sessionlog's head:
>
> An extended version of this fix, which also ensures that the
> sessionlog is kept in csn order, is now in head. Please test,
> syncprov.c revision 1.320.
Looks good to me. Thank you.
I discovered this bug while trying to reproduce ITS#6717.
I've attached a patch to that ITS which appears to fix
that problem. If you have the time, I'd appreciate some
feedback on that patch. The issue makes it very inefficient
to run a slave in refreshOnly mode with a multimaster /
mirrormode master.
Best Regards,
--
Chris Mikkelson | It has been said that man is a rational animal.
cmikk@qwest.net | All my life I have been searching for evidence
| which could support this. -- Bertrand Russell