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

Re: commit: ldap/servers/slapd/back-bdb config.c

Hallvard B Furuseth wrote:

hyc@OpenLDAP.org writes:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb

Modified Files:
	config.c  1.36 -> 1.37

Log Message:
ITS#3178 add "fasttool" option to disable transaction logging in tool mode

That's great, but I would have thought it should be a command line
option, not a config option: One wants this option if and only if
slapd is not running at the same time, right?

Since it is specific to back-bdb/hdb I don't believe it's appropriate to make it a command-line option. Also, it is already a documented requirement that slapd is not running when slapadd/slapindex are used. The nextid counter will be corrupted (if nothing else) if slapadd is run while slapd is running, and the IDL caches will be corrupted if slapindex is run while slapd is running.

The config option only takes effect in Tool mode, not in Server mode, so there's no real need to toggle it on the command-line.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support