From: Howard Chu Date: Sun, 14 Aug 2005 08:35:31 +0000 (+0000) Subject: ITS#3935 tweak sessionlog description X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~707 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f4c1eee38233cde2a63ce6a4f368a50fee08da2b;p=openldap ITS#3935 tweak sessionlog description --- diff --git a/doc/man/man5/slapo-syncprov.5 b/doc/man/man5/slapo-syncprov.5 index 7948ba1d87..02cf233740 100644 --- a/doc/man/man5/slapo-syncprov.5 +++ b/doc/man/man5/slapo-syncprov.5 @@ -44,10 +44,10 @@ write operations or more than time have passed since the last checkpoint. Checkpointing is disabled by default. .TP -.B syncprov-sessionlog +.B syncprov-sessionlog Specify a session log for recording information about write operations made on the database. The -.B +.B specifies the number of operations that are recorded in the log. All write operations (except Adds) are recorded in the log. When using the session log, it is helpful to set an eq index on the diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index bc8d940615..8ff375453f 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2000,7 +2000,7 @@ static ConfigTable spcfg[] = { sp_cf_gen, "( OLcfgOvAt:1.1 NAME 'olcSpCheckpoint' " "DESC 'ContextCSN checkpoint interval in ops and minutes' " "SYNTAX OMsDirectoryString SINGLE-VALUE )", NULL, NULL }, - { "syncprov-sessionlog", "size", 2, 2, 0, ARG_INT|ARG_MAGIC|SP_SESSL, + { "syncprov-sessionlog", "ops", 2, 2, 0, ARG_INT|ARG_MAGIC|SP_SESSL, sp_cf_gen, "( OLcfgOvAt:1.2 NAME 'olcSpSessionlog' " "DESC 'Session log size in ops' " "SYNTAX OMsInteger SINGLE-VALUE )", NULL, NULL },