Pierangelo Masarati
067d6904c2
don't know exactly the reason, but here without this back-hdb suddenly starts crashings all times (since bdb_monitor_* stuff)
2006-09-26 08:43:01 +00:00
Pierangelo Masarati
b890f60e36
minor cleanup
2006-09-14 01:05:02 +00:00
Pierangelo Masarati
55f24ce8f6
- setup framework for monitoring of back-bdb/back-hdb stuff in their
...
database entry in cn=monitor
- improve support for custom attribute/callback registration
in back-monitor
- design API for registered antry/attr/callback removal in back-monitor
HEADS UP: now back-bdb requires back-monitor to be present, either static
or dynamically loaded __before__ back-bdb/back-hdb is initialized.
This works for sure if both back-bdb & back-monitor are static or dynamic
(provided back-monitor.la is loaded before back_bdb.la); it is not clear
what happens if back-bdb is static and back-monitor is dynamic. In case,
either make back-bdb monitoring conditional, or hardwire back-monitor
much like back-config and back-ldif.
2006-09-06 01:54:54 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +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
34e154e28b
Add IDL caching for slapadd/slapindex quick mode
2005-10-22 21:41:58 +00:00
Howard Chu
ed5e8db572
Eliminate long-lived read transaction, we can just set a cursor's locker
...
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5
ITS#4088 force cursors to use same locker
2005-10-18 20:52:04 +00:00
Howard Chu
c44210a8bf
ITS#4088 proposed fix
2005-10-16 07:37:36 +00:00
Howard Chu
052a4ae6c4
More hdb optimizing - cache subtree IDLs, not just onelevels
2005-09-26 07:30:36 +00:00
Howard Chu
4a7f5e33bd
More optimizing - try harder to avoid sorting
2005-09-15 08:29:58 +00:00
Howard Chu
aa3297aa36
More back-hdb search optimization
2005-09-13 07:55:01 +00:00
Hallvard Furuseth
3226cdf2a3
bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.
2005-07-27 12:19:16 +00:00
Hallvard Furuseth
ae385b3af0
Silence "empty statement" warnings
2005-07-14 03:06:58 +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
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
35c19ef342
misc fix for the component indexing commit
2004-12-20 20:28:30 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Howard Chu
ab25b43364
Update BDB 4.3 errcall prototype again to silence warnings
2004-11-13 13:22:48 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Howard Chu
504d7ea261
Assist in cache debugging
2004-11-08 04:23:37 +00:00
Howard Chu
e6a12272cc
BDB 4.3 compatibility
2004-10-16 22:10:32 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Jong Hyuk Choi
70314bd98b
SLAP_IDL_CACHE macro removed
2004-07-09 03:31:52 +00:00
Jong Hyuk Choi
b459e59394
patch for ITS#3173
...
- passing transaction ptr to psearch
2004-06-22 23:22:16 +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
Howard Chu
94f7141dda
Consolidate passwd extop in frontend
2003-12-01 12:38:11 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +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
Hallvard Furuseth
b10daf623f
Declare bdb_cache_entry_db_unlock().
2003-09-29 23:32:11 +00:00
Howard Chu
121c73d838
Add EntryInfo free list
2003-09-27 04:58:36 +00:00
Jong Hyuk Choi
eee84463c0
do not cache internal search results for present entry priming
2003-09-25 07:49:50 +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