OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Archive.Contrib/744
Full headers

From: kunkee@neosoft.com
Subject: dbcachenowsync sync_daemon
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Thu, 14 Sep 2000 16:40:33 GMT
From: kunkee@neosoft.com
To: openldap-its@OpenLDAP.org
Subject: dbcachenowsync sync_daemon
Full_Name: Randy Kunkee
Version: 1.2.11
OS: Alpha OSF 4.0e
URL: ftp://ftp.openldap.org/incoming/sync-1.2.11.patch
Submission from: (NULL) (206.109.5.138)


A couple of people have requested my enhancements to 1.2.11's slapd server
which synchronizes the ldbm backend to disk 30 seconds after changes have
been made to the database.

This is done by modifying the add, modify, delete, and modrdn backend
commands to set a dirty flag, which is then checked by a thread every
60 seconds.  The value is currently hardcoded, since I didn't bother
to write anything to configure this from slapd.conf.  Since the goal is
to reduce load, the sync daemon waits until there are no other active
threads before performing it's task.  All this policy stuff is easy to
recode and others may want to implement something different.  In fact,
I added a number of other values to the structure, but have not actually
implemented them in the code.

The code is attached to this ITS.

Randy
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org