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
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Jong Hyuk Choi
fa2aa5bb25
fix for concurrent persistent searches
2003-12-11 00:04:52 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Howard Chu
040a9cf64c
Fix HDB's use of IDL cache
2003-10-03 02:19:09 +00:00
Howard Chu
121c73d838
Add EntryInfo free list
2003-09-27 04:58:36 +00:00
Howard Chu
76dd6bb6da
Revert to previous behavior:
...
always use DB_AUTO_COMMIT when opening a database, don't make it
dependent on an in-progress transaction
use mutex instead of DB lock for db access.
2003-09-25 00:27:22 +00:00
Howard Chu
0342904699
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
2003-09-22 08:37:32 +00:00