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 |
|
Howard Chu
|
f94968fb5b
|
Multi-threaded slapindex
|
2005-10-27 10:34:33 +00:00 |
|
Howard Chu
|
888731e6c3
|
Use sorted array for indexed attrs instead of AVL tree
|
2005-10-26 08:31:38 +00:00 |
|
Howard Chu
|
052a4ae6c4
|
More hdb optimizing - cache subtree IDLs, not just onelevels
|
2005-09-26 07:30:36 +00:00 |
|
Howard Chu
|
aa897eae90
|
ITS#4010 fixes complaint, larger problem remains
|
2005-09-08 15:28:36 +00:00 |
|
Hallvard Furuseth
|
20cde48439
|
Remove ";" after do{...}while(0) macros
|
2005-07-30 23:36:38 +00:00 |
|
Hallvard Furuseth
|
c2b65937fe
|
Fix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...;
|
2005-07-18 05:58:43 +00:00 |
|
Howard Chu
|
fbbfac6771
|
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
|
2005-07-12 13:17:56 +00:00 |
|
Howard Chu
|
5639c07137
|
Add hdb symbols, make sure only one indexer runs
|
2005-04-23 16:16:54 +00:00 |
|
Howard Chu
|
8d0fba2d97
|
Dynamic environment swapping
|
2005-04-22 21:35:45 +00:00 |
|
Howard Chu
|
0398f254ee
|
Fix checkpoint task start/stop
|
2005-04-22 15:32:09 +00:00 |
|
Howard Chu
|
5de908e7e1
|
Dynamic indexing support
|
2005-04-21 19:04:31 +00:00 |
|
Howard Chu
|
28af130e89
|
unifdef BDB_SUBDIRS, was never used
|
2005-04-13 04:08:43 +00:00 |
|
Howard Chu
|
bff244da5b
|
Add dbconfig directive for creating/writing the DB_CONFIG file
|
2005-04-01 11:26:43 +00:00 |
|
Howard Chu
|
d7396583d5
|
ITS#3607 add automatic BDB recovery
|
2005-03-26 09:52:04 +00:00 |
|
Howard Chu
|
b674e6dd3d
|
Omit transaction support when running with SLAP_TOOL_QUICK
|
2005-01-24 01:37:38 +00:00 |
|
Howard Chu
|
aa27cb2262
|
Delete obsolete syncprovider stuff
|
2005-01-14 05:49:45 +00:00 |
|
Howard Chu
|
89da582d69
|
Byte-order independence for HDB: dn2id format changed again.
|
2005-01-11 22:25:52 +00:00 |
|
Kurt Zeilenga
|
dc0eacd40b
|
Happy New Year!
|
2005-01-01 20:49:32 +00:00 |
|