Commit Graph

61 Commits

Author SHA1 Message Date
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
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
Howard Chu
1745c2478d Missed a bei_rdn in prev commit 2003-04-22 20:35:29 +00:00
Howard Chu
c7d3d42304 Omit bei_rdn field from EntryInfo 2003-04-22 18:59:37 +00:00
Howard Chu
68822b1e15 Trim dead BDB_HIER stuff 2003-04-22 17:06:35 +00:00
Howard Chu
f0577fcb08 Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
Add bdb_cache_children, remove cache flag manipulation from dn2id_children
2003-04-22 04:06:09 +00:00
Howard Chu
d290145776 memory context tweaks 2003-04-21 18:28:38 +00:00
Howard Chu
2048c05a82 Added CACHE_ENTRY_NO_KIDS flag to bei_state to shortcut dn2id_children. 2003-04-17 00:52:31 +00:00
Howard Chu
377bccbc6c Hierarchical cache management. 2003-04-16 16:23:36 +00:00
Howard Chu
130f6e1b7d Memory context tweaks for other ops 2003-04-12 10:47:11 +00:00
Howard Chu
a6a6946a67 New ldap_pvt_thread_pool_context() 2003-04-12 04:01:40 +00:00
Howard Chu
0be6cb5a67 Deleted bi_database_mutex, use DB_LOCK instead. Changed bdb_locker_id to
lookup the threadctx if no Op * is provided. (bdb_db_cache doesn't know
its thread context when it acquires a locker ID.)
2003-03-29 05:15:48 +00:00
Howard Chu
f14561d59d #if out unused cache rdwr locks 2003-03-25 20:17:05 +00:00
Howard Chu
4c760dfc18 Fix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
2003-02-22 12:39:49 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Hallvard Furuseth
2bcb48361d Remove casts of AVL function pointers. 2002-12-14 22:25:52 +00:00
Pierangelo Masarati
498d1f043d silence warnings; fix messages 2002-11-10 20:00:44 +00:00
Howard Chu
104f8cc409 Simpler fix for NO_THREADS 2002-09-19 06:34:53 +00:00