[Freeipa-devel] [PATCH 0042] Flush zones and RRs cache when handling persistent search reconnection

Simo Sorce ssorce at redhat.com
Sun Aug 12 09:59:36 UTC 2012


> On 07/27/2012 12:15 PM, Petr Spacek wrote:
> > Hello,
> >
> > this patch implements "Flush zones and RRs cache when handling
> > persistent
> > search reconnection" behaviour as requested
> > in ticket https://fedorahosted.org/bind-dyndb-ldap/ticket/44 .
> >
> > Petr^2 Spacek
> 
> Self-NACK :-)
> 
> This second version has cache flush postponed a bit: Cache is flushed
> after
> receiving first result from LDAP. It should prevent unwanted cache
> flush in
> case of timeout or similar problems.
> 
> Simo, are you ok with this approach?

Sounds better.
Ideally you do not flush until you get all results and no errors, but if that's difficult, waiting until the first results come in maybe be a decent first step.

Simo.




More information about the Freeipa-devel mailing list