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 |
|
Jong Hyuk Choi
|
273052b573
|
adaptive caching implementation
|
2004-12-14 17:22:22 +00:00 |
|
Howard Chu
|
89912db91e
|
Store entryIDs in big-endian order, no more custom sort function.
back-hdb still needs work.
|
2004-12-06 07:28:47 +00:00 |
|
Howard Chu
|
30a6f4d24d
|
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
don't need to worry about them.
|
2004-12-05 02:00:19 +00:00 |
|
Howard Chu
|
3a5bde98ba
|
Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
|
2004-11-25 21:16:54 +00:00 |
|
Howard Chu
|
73a666778e
|
Delete incorrect comments
|
2004-11-10 01:29:51 +00:00 |
|
Howard Chu
|
504d7ea261
|
Assist in cache debugging
|
2004-11-08 04:23:37 +00:00 |
|
Kurt Zeilenga
|
b29e311ae7
|
unifdef -DBDB_ALIASES
delete dead code
|
2004-11-05 07:48:15 +00:00 |
|
Howard Chu
|
84ce549016
|
define DB_VERSION_FULL to simplify version checks
|
2004-10-16 21:59:58 +00:00 |
|
Howard Chu
|
dd7003cf9f
|
Added linearindex option for slapindex. Improves performance when database
size exceeds dbcache size by minimizing cache thrashing.
|
2004-07-22 22:32:37 +00:00 |
|
Howard Chu
|
ebc8bb0d83
|
Use long-lived per-thread TXNs for loading entries from DB.
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
|
2004-07-09 17:00:07 +00:00 |
|
Jong Hyuk Choi
|
70314bd98b
|
SLAP_IDL_CACHE macro removed
|
2004-07-09 03:31:52 +00:00 |
|
Howard Chu
|
3c68fc1f14
|
ITS#3201 fix conflict with BDB internal locks
|
2004-06-24 23:50:10 +00:00 |
|
Howard Chu
|
c63817b9bd
|
ITS#3201 partial fix. still encountering deadlocks.
|
2004-06-24 17:56:43 +00:00 |
|
Howard Chu
|
113870c194
|
Revert to original code
|
2004-03-06 19:15:39 +00:00 |
|
Howard Chu
|
896beebadc
|
unifdef SLAP_IDL_CACHE
|
2004-03-05 13:43:18 +00:00 |
|