Commit Graph

186 Commits

Author SHA1 Message Date
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
8da69a9249 silence warnings 2009-08-19 12:55:15 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Howard Chu
1a8e3f9e3e More for prev commit 2009-05-08 04:48:03 +00:00
Howard Chu
64dc274655 ITS#6095 experimental fix: avoid purging other cases of in-use EntryInfos,
avoid using purged EntryInfos that have not yet been fully unlinked.
2009-05-06 08:33:26 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
72a9d87fec BDB_PAGESIZE not used any more, use BDB/FS default instead 2008-10-15 10:45:31 +00:00
Howard Chu
3be39979ea Add checksum keyword to enable DB checksum validation 2008-10-15 08:13:56 +00:00
Howard Chu
81ed60c056 Add dbpagesize keyword for configuring DB file page sizes 2008-10-15 07:41:57 +00:00
Hallvard Furuseth
6f39252bd0 Warning cleanup: signed meets unsigned. 2008-10-13 08:35:31 +00:00
Howard Chu
599d83c7cd ITS#5728 release entries before send_ldap_ber() 2008-10-07 00:29:54 +00:00
Howard Chu
ece2a4daa6 Use read-only txn's instead of read lockers. Support BDB 4.4-4.7 2008-08-27 01:45:35 +00:00
Howard Chu
c91704d811 Use o_extra instead of o_private 2008-05-01 12:49:35 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
4068c51739 Remove unnneded boi_locker field 2007-12-28 07:44:41 +00:00
Howard Chu
ddd90958a1 Support DB encryption 2007-12-15 19:07:41 +00:00
Hallvard Furuseth
e50cb47542 Restore pre-C99 preprocessor support (since rev 1.165) 2007-12-06 17:08:10 +00:00
Howard Chu
7a3f73efd8 More cleanup 2007-12-06 06:40:13 +00:00
Howard Chu
ebbb6ab216 Cleanup prev commits 2007-12-06 06:20:42 +00:00
Howard Chu
cb0e31fc65 ITS#5262 must protect dn2id between the time it's read from the DB
and it's inserted into EntryInfo cache.
2007-12-06 05:48:02 +00:00
Howard Chu
c2a02618bb BDB 4.2 compatibility for log_printf (requires modern C preprocessor) 2007-12-06 01:51:32 +00:00
Howard Chu
2953cd459f Revert 1.159, seems to trigger a concurrency bug. ??? 2007-12-05 02:36:53 +00:00
Howard Chu
02f29d51c6 ITS#5183 preliminary fix - this whole approach needs re-design 2007-11-18 20:50:20 +00:00
Howard Chu
b4bcc325ee Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
2007-11-12 11:16:30 +00:00
Pierangelo Masarati
06e6e6c053 apply Howard's cleanup of database monitoring registration 2007-09-15 15:34:49 +00:00
Pierangelo Masarati
202080dfa1 enable unindexed searches monitoring ifdef LDAP_DEVEL 2007-09-12 21:26:10 +00:00
Pierangelo Masarati
ed12ff8fd3 parse unsigned as unsigned (ITS#5122) 2007-09-04 19:32:54 +00:00
Howard Chu
4c7d288eb7 More for BDB 4.6 compatibility 2007-08-17 20:33:46 +00:00
Howard Chu
8b27523e4c Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
2007-08-11 19:29:14 +00:00
Pierangelo Masarati
b713eb5102 add monitor support for unindexed attributes (need to manually #define BDB_MONITOR_IDX) 2007-08-07 22:36:04 +00:00
Pierangelo Masarati
dbad13ead2 workaround open() being a macro in glibc 2.6 (ITS#5075) 2007-08-06 12:57:24 +00:00
Howard Chu
b514b25795 Quick and dirty BDB 4.6.18 support. Expect this to change again soon. 2007-07-24 14:02:37 +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
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +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
d7fa1e764d partial revert - keep acquiring BDB lock in lru_purge. 2007-01-01 01:00:19 +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
Pierangelo Masarati
576646abb1 DB_BUFFER_SMALL is BDB 4.4 only 2006-09-27 12:34:00 +00:00
Pierangelo Masarati
4350ce5189 cleanup names 2006-09-08 22:10:49 +00:00
Pierangelo Masarati
103485bf99 fix use with back-hdb 2006-09-06 15:11:54 +00:00
Pierangelo Masarati
1fc5e8e057 cleanup monitoring resources 2006-09-06 12:07:03 +00:00
Howard Chu
c76eb501ab Revert cache-purge task, go back to purging inline 2006-04-05 07:17:11 +00:00
Howard Chu
a614a1c16e Cleanup task declarations 2006-01-06 04:06:18 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
553b2884ab cache LRU concurrency improvements, reorder DB accesses for consistency 2005-12-09 00:20:18 +00:00
Kurt Zeilenga
0d56ddda04 unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES 2005-11-27 01:03:03 +00:00