Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Howard Chu
856a8c1177
Don't bother logging lock failures for tryOnly mode
2004-07-12 20:02:24 +00:00
Howard Chu
214d3b26c1
Fix for non-thread run
2004-07-12 04:05:26 +00:00
Howard Chu
2d4f58bbf6
Make sure DB result codes are returned to caller; add missing retries to
...
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Howard Chu
22f895a4bb
Minor cleanup
2004-07-10 04:48:07 +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
Howard Chu
6b59008f26
Plug mem leaks
2004-07-05 21:00:09 +00:00
Howard Chu
56103a575b
Fix misplaced unlock in prev commit
2004-07-03 21:06:34 +00:00
Howard Chu
473b8cb7db
Re-order EntryInfo/DB locks to fix deadlocks
2004-07-03 20:03:14 +00:00
Howard Chu
42e0814247
Fix prev commit
2004-07-03 16:17:54 +00:00
Howard Chu
f696f7ab55
Fix: LRU corruption, HDB rename detection, Ctxcsn assert failure
2004-07-03 15:47:44 +00:00
Howard Chu
826b177877
More locking cleanup (ITS#3201, etc)
2004-06-25 05:29:33 +00:00
Howard Chu
f7f6861a26
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd
ITS#3201 partial fix. still encountering deadlocks.
2004-06-24 17:56:43 +00:00
Howard Chu
06f3bfb7f9
More for ITS#3188
2004-06-16 03:29:02 +00:00
Kurt Zeilenga
7537d3d843
Partial fix for ITS#3188.
...
As Howard noted, additional fixes may be needed in other update routines.
2004-06-15 21:13:40 +00:00
Howard Chu
7c7754b956
Better fix for ITS#3063, #3186
2004-06-12 07:39:24 +00:00
Pierangelo Masarati
d40e5a365a
fix DN_SEPARATOR() and clarify its use
2004-05-07 09:03:05 +00:00
Pierangelo Masarati
80449c42d9
fix escaped semicolon bug in back-bdb
2004-05-07 02:09:06 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
d3168d0011
cleanup
2003-12-31 04:26:17 +00:00
Kurt Zeilenga
45a0cbdfcd
cleanup
2003-12-31 01:41:16 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Howard Chu
2bfb0bdeb8
Fix spurious lock messages from slapcat
2003-11-25 10:31:10 +00:00
Howard Chu
56498a59dd
ITS#2780, redundant cache add
2003-10-19 09:55:31 +00:00
Howard Chu
040a9cf64c
Fix HDB's use of IDL cache
2003-10-03 02:19:09 +00:00
Howard Chu
dcbca288a9
ITS#2745 reset bei_state when reusing an EntryInfo
2003-09-29 22:01:03 +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
5fb7ea2294
Cleanup prev commit
2003-09-22 10:11:10 +00:00
Howard Chu
0342904699
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
2003-09-22 08:37:32 +00:00
Howard Chu
365a3bac3f
Tweak entry caching: only maintain LRU list on cached entries, not
...
on arbitrary EntryInfo.
2003-09-21 23:08:44 +00:00
Howard Chu
aee837c999
More deadlock tweaks.
2003-09-14 10:27:59 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
660617ae66
Context CSN patch (1)
...
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Howard Chu
9004df89d7
ITS#2593 keep entryinfo locked during delete
2003-06-12 22:47:13 +00:00
Howard Chu
c3039b66fe
Another BDB_HIER redundant modification
2003-06-12 11:17:35 +00:00
Howard Chu
8defa92746
ITS#2593? get entry lock sooner...
2003-06-12 11:11:37 +00:00
Jong Hyuk Choi
33b8042bc0
cleanup
2003-06-11 19:35:31 +00:00
Jong Hyuk Choi
3f8bb27a83
a fix for back-bdb entry cache
2003-06-11 17:01:54 +00:00
Howard Chu
782b481a9a
ITS#2580 - avoid cache deadlock
2003-06-09 22:00:00 +00:00
Howard Chu
4a3748b6cf
Restructured to avoid direct use of sl_malloc functions. Minimizes impact
...
of #ifdef USE_SL_MALLOC...
2003-05-25 00:53:08 +00:00
Howard Chu
c40115c12e
Don't use single malloc for BDB_HIER e->e_name + e->e_nname
2003-05-24 01:54:03 +00:00
Howard Chu
61eec0734a
Fix double-free'd rdn bug
2003-05-24 00:46:52 +00:00
Howard Chu
2bb9a15d57
ITS#2541 added bdb_cache_delete_cleanup() to defer cache delete.
2003-05-23 02:04:03 +00:00
Howard Chu
f3e0a28f18
Don't avl_insert NULL kids
2003-05-23 01:12:50 +00:00
Howard Chu
fe1bcdeb28
ITS#2540 not sure, difficult to reproduce crash...
2003-05-22 23:48:02 +00:00
Howard Chu
399572ba50
For ITS#2502 - force release of locks on exiting threads
2003-05-09 22:30:28 +00:00
Hallvard Furuseth
51da53b4b0
Print long with %ld, not %d.
2003-04-29 14:55:36 +00:00
Howard Chu
184f647b25
Change RDN compare funcs, we don't need lexical ordering
2003-04-23 10:26:06 +00:00