Commit Graph

1292 Commits

Author SHA1 Message Date
Pierangelo Masarati
a01d9f961d fix no-op crasher (ITS#4925) 2007-04-11 20:31:49 +00:00
Hallvard Furuseth
1c87542ea1 Add missing return from void *bdb_tool_trickle_task() 2007-04-09 22:45:21 +00:00
Howard Chu
87466fc7c8 Add trickle-sync for quick mode 2007-04-07 06:10:01 +00:00
Hallvard Furuseth
8e5beab1e8 printf %p expects void* 2007-04-04 17:49:31 +00:00
Howard Chu
0752716d80 Remove obsolete purge (obsoleted in cache.c rev 1.106) 2007-03-22 07:35:10 +00:00
Pierangelo Masarati
226133ea38 don't add databases twice; but try as hard as possible... 2007-03-21 23:22:49 +00:00
Pierangelo Masarati
d0fe3b0890 allow adding of back-bdb with monitoring on (ITS#4789) 2007-03-21 22:35:37 +00:00
Howard Chu
4ae77ae266 ITS#4851 retry if opening a supposedly clean shared memory env fails 2007-02-24 20:18:56 +00:00
Howard Chu
10a0900e2e Fix prev commit, cleanup fakeroot entry before freeing 2007-02-09 17:39:49 +00:00
Howard Chu
94e7e3ba57 Fix prev commit, free fakeroot on teardown 2007-02-09 17:30:23 +00:00
Howard Chu
2d3c48ccd5 ITS#4838 fix fake root handling broken by prev commit 2007-02-09 17:23:00 +00:00
Howard Chu
fb583c3071 Revert prev commit 2007-02-08 10:29:40 +00:00
Howard Chu
57c5bbf7e4 Just use a readlock in cache loader 2007-02-08 09:27:35 +00:00
Howard Chu
0c25783cee use dn2id index for extended filters using entryDN 2007-02-08 06:43:28 +00:00
Howard Chu
df31c884b4 Free main-thread keys in db_close, can't do it later because the env
will be gone.
2007-01-25 12:24:52 +00:00
Howard Chu
ea8a2894c4 Free main-thread keys in db_close, can't do it later because the env
will be gone.
2007-01-25 12:00:40 +00:00
Howard Chu
183a0f3719 ITS#4810 bi_entry_get_rw() must return the entry regardless of whether
it's an alias or referral or not
2007-01-25 04:31:23 +00:00
Howard Chu
9a8b3f711e Only sort the first time 2007-01-17 10:43:37 +00:00
Howard Chu
5d4c8f86bf Fix prev commit 2007-01-17 10:02:53 +00:00
Howard Chu
ecb06964c5 Cleanup prev commit 2007-01-17 02:46:41 +00:00
Howard Chu
9898983d58 Minor tweaks, put dup EntryInfo's on free list instead of destroying them 2007-01-17 02:43:05 +00:00
Howard Chu
1f853acfc9 Shortcut when no index info is present 2007-01-15 01:27:02 +00:00
Howard Chu
5d3f3c240d ITS#4554 slapindex takes a list of attributes to index 2007-01-15 01:14:14 +00:00
Howard Chu
b941856404 Set upper bound on EntryInfos, fixed at 4x Entry cachesize.
Probably should be tunable. Probably should add hit/miss counters
to monitor to assist in tuning...
2007-01-12 07:35:34 +00:00
Hallvard Furuseth
d16754c81b Delete unused variables. 2007-01-11 12:04:22 +00:00
Howard Chu
5bcd9243f2 Don't zero out attr value flags 2007-01-10 20:48:37 +00:00
Howard Chu
a2e299eb22 ITS#4799 remove kerberos / kbind 2007-01-10 00:23:28 +00:00
Howard Chu
813cca89a6 ITS#4797 2007-01-08 19:10:23 +00:00
Howard Chu
2082b1f9f0 Avoid calling purge too often 2007-01-05 06:49:25 +00:00
Howard Chu
001ce8e493 Partially revert prev commit, fix lru_purge loop 2007-01-04 11:01:59 +00:00
Howard Chu
57fa57b1d1 Fix HDB - don't use IDL cache when it's not configured 2007-01-04 10:56:18 +00:00
Howard Chu
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +00:00
Howard Chu
23a2339090 Fix prev commits... 2007-01-04 03:26:54 +00:00
Howard Chu
f2acc11976 Simpler fix 2007-01-04 03:17:59 +00:00
Howard Chu
831d1cccc7 Fix idl_cache teardown again - skip if cache is empty 2007-01-04 03:14:46 +00:00
Howard Chu
e094bef172 Remember our own success code in case an overlay changes it 2007-01-03 20:28:56 +00:00
Howard Chu
5cfd2f6d97 Use Clock algorithm for IDL cache too 2007-01-03 19:00:07 +00:00
Howard Chu
6d1ca0a769 Delete unused idl_cache_entry rwlock field 2007-01-03 05:36:49 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
822888eafc Bypass a few redundant locks 2007-01-01 11:44:39 +00:00
Howard Chu
6074f48fa7 Tweak cache_lru_print 2007-01-01 11:17:13 +00:00
Howard Chu
a5546a22a8 Fix prev commit, hdb_cache_find_parent 2007-01-01 07:09:22 +00:00
Howard Chu
cd35516bdc Fix typo in prev commit 2007-01-01 02:16:25 +00:00
Howard Chu
37dfbd3e8b Fix prev commit 2007-01-01 01:07:57 +00:00
Howard Chu
d7fa1e764d partial revert - keep acquiring BDB lock in lru_purge. 2007-01-01 01:00:19 +00:00
Howard Chu
b8309b4cf8 Cleanup db_lock/unlock parameters 2006-12-31 23:37:06 +00:00
Howard Chu
a720011c8a Ditch LRU cache replacement in favor of 2nd-chance/clock.
Much better concurrency.
2006-12-31 16:16:48 +00:00
Howard Chu
e844a6956d In bdb_cache_add use a readlock outside the txn to protect the entry
until send_ldap_result completes.
2006-12-30 12:05:55 +00:00
Howard Chu
3bf226382e ITS#3707 preserve filter input, allow (and ignore) undefined attributes 2006-12-25 23:30:45 +00:00
Pierangelo Masarati
6193ee4003 don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required 2006-12-24 15:44:56 +00:00