From: Howard Chu Date: Wed, 19 Jan 2005 08:59:16 +0000 (+0000) Subject: ITS#3493 checkpoint clarification X-Git-Tag: OPENLDAP_REL_ENG_2_2_21~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b6de1908c0eb7e8a86169d451d2a0a6dd28748;p=thirdparty%2Fopenldap.git ITS#3493 checkpoint clarification --- diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index 0152625111..8cc6762e40 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -45,7 +45,15 @@ A checkpoint operation flushes the database buffers to disk and writes a checkpoint record in the log. The checkpoint will occur if either data has been written or minutes have passed since the last checkpoint. -Both arguments default to zero, in which case they are ignored. +Both arguments default to zero, in which case they are ignored. Note +that the checkpoint conditions are only tested after a write operation, +and not every minutes. As such, data written within minutes +of the last checkpoint will +.I not +get flushed until the next write operation happens after that interval. +Outstanding writes in this situation may not get flushed if the server +is shutdown uncleanly, and the database will need to be recovered before +the next startup. See the Berkeley DB reference guide for more details. .TP .B dbnosync