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

Re: (ITS#3622) slapacl leaves active transactions in back-bdb when ACLs by clauses require internal operations on the databases



> bdb_txn_get obtains a long-lived read transaction, one per thread when
> slapd is running. It relies on the thread pool mechanism to call the
> free routine when the thread pool is shutdown. In tool mode there is no
> thread pool, so the free routine is never invoked. Probably in tool mode
> the bdb_txn_get function should be a no-op.

The fix you suggest seems to solve the problem.  Committed to HEAD.

Thanks a lot, p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497