[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
pcache entry ttl handling
- To: openldap-devel@openldap.org
- Subject: pcache entry ttl handling
- From: Ralf Haferkamp <rhafer@suse.de>
- Date: Thu, 26 May 2011 14:46:08 +0200
- User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )
Hi,
while working on some issues in slapo-pcache (ITS#6950, 6951, 6953 and
6954). I noticed some (IMO) odd behaviour in how the experiation of
cached queries is handled.
It seems that pcache happily returns entries for cached queries from the
cache even if the query has already expired (ttl is over). It only stops
returning results for such a cached query after the periodic consistency
checker has run an removed those expired queries.
If this is really the desired behaviour I think we should clarify this in
the man-page. If it's not we should fix the code.
--
Ralf