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
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
3be0b77c88
Context CSN Patch (2)
...
- BDB context csn codes moved to a separate function in back-bdb/ctxcsn.c
2003-08-25 19:15:04 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Jong Hyuk Choi
e8cd5c2386
- LDAP_SYNCREPL defined in include/ldap.h
...
- add "updatedn" to the replication specification
- return referral to update to the slave server
2003-05-01 23:39:29 +00:00
Howard Chu
15b661c5c7
Revert prev commit. It's a symptom that BDB was built incorrectly.
2003-04-29 22:02:24 +00:00
Howard Chu
b63bdc6513
Undo BDB const mucking
2003-04-25 13:14:33 +00:00
Howard Chu
02217c9183
Subtree rename support for the cache
2003-04-23 08:46:23 +00:00
Howard Chu
6f461690c1
Function renaming, make internal funcs static, etc.
2003-04-23 06:34:55 +00:00