[Date Prev][Date Next]
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: email@example.com
- Date: Fri, 10 Dec 2010 17:12:56 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> This fix would have the effect of treating the sessionlog
> as empty until it overflows, and will cause unnecessary
> refresh traffic.
> Other than the patch I suggested (using the list head's
> CSN value directly), I can think of two other approaches:
> 1) When adding an entry to the sessionlog, check
> if sl_mincsn is empty. If it is, update sl_mincsn
> to the new entry's CSN.
> 2) When initializing the sessionlog, set sl_mincsn
> to the maximum contextCSN value of the underlying
> #2 seems ideal from an efficiency standpoint, although it
> differs from the algorithm the current code appears to be
> intended to implement.
#2 sounds fine, but it sounds like Rein has already got a good solution underway.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/