[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7552) PcacheAttrset directive is not behaving as it should



Full_Name: ben thielsen
Version: 2.4.31
OS: ubuntu 12.10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.176.18.253)


i've set olcPcacheAttrset as follows:

dn: olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config
objectClass: olcPcacheConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: {0}pcache
olcPcache: mdb 1000 100 1000 60
olcPcacheAttrset: 0 "*" "+"
olcPcacheTemplate: "(objectClass=)" 0 3600
olcPcacheTemplate: "(uid=)" 0 3600
olcPcacheTemplate: "(&(objectClass=)(uid=))" 0 3600
olcPcacheBind: "(uid=)" 0 60 "sub" "dc=example,dc=net"
structuralObjectClass: olcPcacheConfig
entryUUID: ddb05d7e-b4fa-1031-811e-353e11fff366
creatorsName: cn=config
createTimestamp: 20121028032528Z
entryCSN: 20121030002115.179177Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20121030002115Z

but the logs indicate that a subsequent query won't be cached:

Oct 31 08:42:15 deepfield slapd[12862]: query template of incoming query =
(&(objectClass=)(uid=))
Oct 31 08:42:15 deepfield slapd[12862]: QUERY NOT ANSWERABLE
Oct 31 08:42:15 deepfield slapd[12862]: QUERY NOT CACHEABLE