[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/servers/slapd/overlays rwm.c
- To: hyc@openldap.org
- Subject: Re: commit: ldap/servers/slapd/overlays rwm.c
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Mon, 18 Dec 2006 00:11:05 +0100
- Cc: OpenLDAP Commit <openldap-commit2devel@openldap.org>
- In-reply-to: <200612172302.kBHN20Ew002230@cantor.openldap.org>
- References: <200612172302.kBHN20Ew002230@cantor.openldap.org>
- User-agent: Mail/News 1.5.0.7 (X11/20060916)
hyc@OpenLDAP.org wrote:
Log Message:
Remove redundant search cleanup
Howard,
note that among the issues in slapo-rwm there's the fact that it's
attaching a callback structure on the thread's private data instead of
malloc'ing (and freeing) it when required. As a consequence, this may
prevent slapo-rwm from being called more than once in an operation
execution sequence, because it could result in an endless loop or
unexpected execution sequences. In fact, when used with a regular
database, multiple calls shouldn't occur (one would need to explicitly
add more than one instance of slapo-rwm on the same database, which
makes little sense). However, gluing more than one database which
independently needs slapo-rwm is one such case of multiple calls in one
thread execution.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------