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

Re: Checkpoint command not working in slapd.conf?





--On Tuesday, January 18, 2005 1:11 PM +1100 Dave Horsfall <daveh@ci.com.au> wrote:

On Tue, 18 Jan 2005, Dave Horsfall wrote:

which appears to imply that slapd calls the checkpoint function itself
after any update (and config.c bdb_db_config() seems to load up the
checkpoint parameters), hence an external cron job is not necessary?

Skip it - I found the answer. Howard explained it thus:

``In OpenLDAP 2.1 and 2.2 the checkpoint directive acts as follows -
*when    there is a write operation*, and more than <check> minutes have
occurred    since the last checkpoint, perform the checkpoint. If more
than <check>    minutes pass after a write without any other write
operations occurring,    no checkpoint is performed, so it's possible to
lose the last write that    occurred.''

And my timeline was:

Force a checkpoint at 10:17.  Update at 10:19.  Because fewer than
5 minutes had elapsed *since the last checkpoint*, no checkpoint is done.

Right, that's what I said. ;) And again, this will be addressed in 2.3 on a permanent basis. :)


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin