]> git.sur5r.net Git - openldap/commitdiff
ITS#8040 document lazycommit
authorHoward Chu <hyc@openldap.org>
Wed, 8 Apr 2015 22:18:03 +0000 (23:18 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 8 Apr 2015 22:18:03 +0000 (23:18 +0100)
doc/man/man5/slapd-config.5
doc/man/man5/slapd.conf.5
servers/slapd/syncrepl.c

index 942fbf977f33f4d3873db3c99ce45799d9f4c093..b42593d7571f0969d60268e04cb61062d860b7fb 100644 (file)
@@ -1801,6 +1801,7 @@ FALSE, meaning the contextCSN is stored in the context entry.
 .B [logbase=<base DN>]
 .B [logfilter=<filter str>]
 .B [syncdata=default|accesslog|changelog]
+.B [lazycommit]
 .RS
 Specify the current database as a replica which is kept up-to-date with the 
 master content by establishing the current
@@ -1980,6 +1981,11 @@ to the obsolete \fIchangelog\fP format. If the
 .B syncdata
 parameter is omitted or set to "default" then the log parameters are
 ignored.
+
+The .B lazycommit
+parameter tells the underlying database that it can store changes without
+performing a full flush after each change. This may improve performance
+for the consumer, while sacrificing safety or durability.
 .RE
 .TP
 .B olcUpdateDN: <dn>
index 4f037f31653339b5099e37282abf38b168c3c522..e99f14f9ceb1f7f8785187168126df8c85e19342 100644 (file)
@@ -1781,6 +1781,7 @@ the contextCSN is stored in the context entry.
 .B [logbase=<base DN>]
 .B [logfilter=<filter str>]
 .B [syncdata=default|accesslog|changelog]
+.B [lazycommit]
 .RS
 Specify the current database as a replica which is kept up-to-date with the 
 master content by establishing the current
@@ -1992,6 +1993,11 @@ to the obsolete \fIchangelog\fP format. If the
 .B syncdata
 parameter is omitted or set to "default" then the log parameters are
 ignored.
+
+The .B lazycommit
+parameter tells the underlying database that it can store changes without
+performing a full flush after each change. This may improve performance
+for the consumer, while sacrificing safety or durability.
 .RE
 .TP
 .B updatedn <dn>
index 17af6ac96e1e16ea235a8b92ab7cc4439bf856ca..04e386284780f552c80fe3b382c94f6975ab3ceb 100644 (file)
@@ -4687,11 +4687,11 @@ config_suffixm( ConfigArgs *c, syncinfo_t *si )
 #define LOGFILTERSTR   "logfilter"
 #define SUFFIXMSTR             "suffixmassage"
 #define        STRICT_REFRESH  "strictrefresh"
+#define LAZY_COMMIT            "lazycommit"
 
 /* FIXME: undocumented */
 #define EXATTRSSTR             "exattrs"
 #define MANAGEDSAITSTR         "manageDSAit"
-#define LAZY_COMMIT            "lazycommit"
 
 /* mandatory */
 enum {