bernhard: server/kolabd/kolabd/templates DB_CONFIG.slapd.template.in, 1.3, 1.4
cvs at kolab.org
cvs at kolab.org
Wed Sep 27 18:48:32 CEST 2006
Author: bernhard
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv25484/templates
Modified Files:
DB_CONFIG.slapd.template.in
Log Message:
* DB_CONFIG.slapd.template.in: Fixing set_lk_detect setting,
also adding the meaning from the documentation. Thanks
to Gunnar Wrobel for spotting.
Resolves: kolab/issue1428 (Last commit on DB_CONFIG.slapd.template.in
breaks the LDAP db)
Index: DB_CONFIG.slapd.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/DB_CONFIG.slapd.template.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- DB_CONFIG.slapd.template.in 13 Sep 2006 02:55:23 -0000 1.3
+++ DB_CONFIG.slapd.template.in 27 Sep 2006 16:48:30 -0000 1.4
@@ -15,4 +15,12 @@
set_cachesize 0 26214400 1
set_tmp_dir /dev/shm
-set lk_detect DB_LOCK_DEFAULT
+#http://www.sleepycat.com/docs/api_c/env_set_lk_detect.html
+#Set if the deadlock detector is to be run whenever
+#a lock conflict occurs, and specify what lock request(s) should be rejected.
+#
+# DB_LOCK_DEFAULT
+# Use whatever lock policy was specified when the database environment
+# was created. If no lock policy has yet been specified,
+# set the lock policy to DB_LOCK_RANDOM.
+set_lk_detect DB_LOCK_DEFAULT
More information about the commits
mailing list