Commit Graph

695 Commits

Author SHA1 Message Date
Kurt Zeilenga
25f2985024 Don't return garbage when plist is empty. 2003-10-23 01:15:36 +00:00
Howard Chu
95a5866965 Shortcut syncrepl candidate selection if CSN is up to date 2003-10-22 07:53:28 +00:00
Kurt Zeilenga
ce4b199485 Syncrepl code cleanup (namely prefix struct field names) 2003-10-22 05:19:30 +00:00
Howard Chu
7710791382 ITS#2684 keep psearch operations on the connection's active list so they
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.
2003-10-19 11:20:34 +00:00
Howard Chu
56498a59dd ITS#2780, redundant cache add 2003-10-19 09:55:31 +00:00
Kurt Zeilenga
10622b1d0a Further cleanup last commit. 2003-10-12 07:31:31 +00:00
Kurt Zeilenga
535c221599 Tentative fix for last comment (tests still running) 2003-10-12 07:19:27 +00:00
Kurt Zeilenga
dfcd732813 ITS#2757: fix parent-less add bug 2003-10-12 06:32:44 +00:00
Kurt Zeilenga
71f484bad8 Finish off berbuf fix 2003-10-12 06:07:02 +00:00
Howard Chu
8c9f033aa5 Fix prev commit setting NO_GRANDKIDS incorrectly 2003-10-08 06:05:48 +00:00
Howard Chu
040a9cf64c Fix HDB's use of IDL cache 2003-10-03 02:19:09 +00:00
Hallvard Furuseth
8efd391832 #include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy(). 2003-09-29 23:33:39 +00:00
Hallvard Furuseth
b10daf623f Declare bdb_cache_entry_db_unlock(). 2003-09-29 23:32:11 +00:00
Howard Chu
dcbca288a9 ITS#2745 reset bei_state when reusing an EntryInfo 2003-09-29 22:01:03 +00:00
Howard Chu
dcd777b0b8 Fix hdb cursor leak. 2003-09-27 05:17:08 +00:00
Luke Howard
8c8c89b8a9 reinstate first argument to bdb_cache_delete_cleanup() 2003-09-27 05:12:17 +00:00
Howard Chu
121c73d838 Add EntryInfo free list 2003-09-27 04:58:36 +00:00
Luke Howard
283c310302 Fix tree breakage - bdb_cache_delete_cleanup() only takes one argument
???
2003-09-27 04:24:31 +00:00
Howard Chu
5c711a3b46 ITS#2741 yield before backing off 2003-09-27 03:16:38 +00:00
Jong Hyuk Choi
eee84463c0 do not cache internal search results for present entry priming 2003-09-25 07:49:50 +00:00
Jong Hyuk Choi
67b485e3ee revert changes for persistent search 2003-09-25 02:14:20 +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
c58ac9d8f1 Add memctx param to build_new_dn(). cleanup DN leaks. 2003-09-24 04:30:41 +00:00
Howard Chu
ece76c067f Silence valgrind warnings of uninit'd memory 2003-09-24 03:03:53 +00:00
Howard Chu
30f3b91ddc ITS#2735 - plug memory leaks 2003-09-23 22:52:35 +00:00
Howard Chu
772ce3b911 Plug a leak. 2003-09-23 17:14:01 +00:00
Howard Chu
d7771374e2 Fix alignment issues in hdb_dn2idl_internal 2003-09-23 10:55:57 +00:00
Howard Chu
99d2b7e7e9 Fix back-hdb test006 failures due to bad return code in hdb_dn2idl 2003-09-23 08:16:23 +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
fddbe13c6e Revert broken index optimizations 2003-09-21 10:11:46 +00:00
Howard Chu
20902a2be3 Fix segfault if entry_get is called with NULL attribute 2003-09-20 07:48:57 +00:00
Howard Chu
f2c3ba16d6 cn=ldapsync berval cleanup 2003-09-20 03:26:40 +00:00
Luke Howard
9459a7f535 fix typo 2003-09-17 11:05:06 +00:00
Kurt Zeilenga
99f968b597 Initial support for pre/post read controls.
TODO:
	Fix transactional consistency
	Add client response control handling
2003-09-16 18:56:04 +00:00
Kurt Zeilenga
8f0bc2d55b cleanup 2003-09-15 21:53:58 +00:00
Howard Chu
aee837c999 More deadlock tweaks. 2003-09-14 10:27:59 +00:00
Howard Chu
61155ca8e8 Fix prev commit 2003-09-12 18:53:59 +00:00
Howard Chu
72adc38cdf Construct ctxcsn entries directly, plug memory leaks, remove
dependency on slap_mods_check and slap_mods2entry
2003-09-12 18:52:34 +00:00
Howard Chu
10811b6f51 Clarify/standardize library version mismatch error messages 2003-09-12 00:54:21 +00:00
Jong Hyuk Choi
d5be4896a3 add bdb_get_commit_csn() for use in bdb_search 2003-09-10 17:03:01 +00:00
Jong Hyuk Choi
005afc86e4 more EntryInfo handling fix code (overriding the prev fix) 2003-09-09 01:25:58 +00:00
Jong Hyuk Choi
4cda6127ee use of bdb_modify_internal() in bdb_csn_commit()
fix EntryInfo handling in bdb_csn_commit()
2003-09-08 22:55:04 +00:00
Jong Hyuk Choi
7357caac90 memory mgmt cleanup 2003-09-03 23:47:37 +00:00
Jong Hyuk Choi
c36f32a9e4 slaptool update for LDAP Sync replication 2003-08-30 15:19:35 +00:00
Jong Hyuk Choi
853c03e38d more patches for ITS#2692 (Thanks Luke!) 2003-08-29 17:02:53 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
4559aa06aa cleanup 2003-08-27 20:51:04 +00:00
Jong Hyuk Choi
81a53a9a5c LDAP Sync protocol extension
- do not send updates in state mode when
  syncCookie >= contextCSN (or omitCSN if changelog is used)
2003-08-26 22:49:44 +00:00