[Date Prev][Date Next]
Re: pcache entry ttl handling
Ralf Haferkamp wrote:
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.
Sounds like a doc fix then.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/