Issue 744 - dbcachenowsync sync_daemon
Summary: dbcachenowsync sync_daemon
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: contrib (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-14 16:40 UTC by kunkee@openldap.org
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kunkee@openldap.org 2000-09-14 16:40:33 UTC
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
Comment 1 Kurt Zeilenga 2000-09-14 22:35:53 UTC
moved from Incoming to Contrib
Comment 2 Kurt Zeilenga 2000-10-03 17:15:55 UTC
changed notes
changed state Open to Suspended
Comment 3 Kurt Zeilenga 2001-06-24 16:56:44 UTC
changed notes
changed state Suspended to Closed
Comment 4 OpenLDAP project 2014-08-01 21:05:17 UTC
not to be integrated
back-bdb resolves this
committed to HEAD