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

Re: commit: ldap/servers/slapd backglue.c proto-slap.h slapcommon.c



Kurt D. Zeilenga wrote:
At 12:28 PM 10/15/2005, Howard Chu wrote:
Hallvard B Furuseth wrote:
hyc@OpenLDAP.org writes:
Log Message:
ITS#4089 use slapcat -n XX to specify just the superior of a glued tree
It'll be a bit confusing that different ways to select a database gives
different result.  I think a separate option would be better, with the
default being whatever OpenLDAP 2.2 did.

This conversation sounds vaguely familiar...
http://www.openldap.org/lists/openldap-devel/200112/msg00082.html
Looks like the original 2.1 implementation did what I just patched today; someone else must have said "that's confusing" and talked me out of it.

OK, suppose we add a "-g" option that disables glue completely?

Personally, I think the slapcat/add should ignore glue in general. They were intended to work on databases. That is, I rather -g be used to "enable glue" when one wanted to span multiple databases glued together.
My perspective is the opposite - the point of glue is to allow you to treat multiple databases as a single database and mostly forget that they are separate. I.e., when an administrator decides to use glue, it is abnormal / out of the ordinary to want to operate on only the component databases.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/