Commit Graph

846 Commits

Author SHA1 Message Date
Pierangelo Masarati
809e623cd9 add paged results support to back-ldap 2004-08-24 09:19:33 +00:00
Pierangelo Masarati
9f6f5491fe slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay 2004-07-25 23:16:40 +00:00
Howard Chu
d9927adf88 Fix ITS#3255, boi_bdb comparisons 2004-07-25 21:10:41 +00:00
Howard Chu
05fd32498d Fix spurious warning for fasttool keyword when running in Server mode 2004-07-25 19:49:24 +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
f9f22058e7 ITS#3178 add "fasttool" option to disable transaction logging in tool mode 2004-07-22 22:14:35 +00:00
Pierangelo Masarati
b94d5e17e2 rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
Howard Chu
26b4758938 Make sure hdb gets signed chars for len comparison 2004-07-18 12:29:52 +00:00
Pierangelo Masarati
854863f0b6 normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245) 2004-07-17 14:45:07 +00:00
Pierangelo Masarati
8d03d74bfd silence warning 2004-07-14 00:22:27 +00:00
Howard Chu
856a8c1177 Don't bother logging lock failures for tryOnly mode 2004-07-12 20:02:24 +00:00
Howard Chu
3fd4d04168 Release cache locker on db close 2004-07-12 14:29:13 +00:00
Howard Chu
214d3b26c1 Fix for non-thread run 2004-07-12 04:05:26 +00:00
Pierangelo Masarati
1b85d17afe minor cleanup 2004-07-11 22:55:57 +00:00
Pierangelo Masarati
4424b9d57f log what backend is starting (bdb/hdb) 2004-07-11 22:52:26 +00:00
Pierangelo Masarati
198b34db35 back-relay doesn't like this 2004-07-11 22:52:01 +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
Pierangelo Masarati
8a9c5bb0f8 make sure we only get here when everything is fine 2004-07-10 11:41:28 +00:00
Howard Chu
22f895a4bb Minor cleanup 2004-07-10 04:48:07 +00:00
Howard Chu
e5ffb0c466 Use previously unused Backend->be_context_csn 2004-07-09 17:27:23 +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
Ralf Haferkamp
b8113c5df9 ITS#3226: Clear attribute flags after schema_check failed 2004-07-09 11:18:42 +00:00
Jong Hyuk Choi
70314bd98b SLAP_IDL_CACHE macro removed 2004-07-09 03:31:52 +00:00
Howard Chu
6b59008f26 Plug mem leaks 2004-07-05 21:00:09 +00:00
Howard Chu
5ab38cfa5f Better fix for ITS#3213, plug mem leaks. Also fix postread response. 2004-07-05 20:08:20 +00:00
Howard Chu
c3984d9f59 Plug memleak from ITS#2895 2004-07-04 04:56:36 +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
Jong Hyuk Choi
a46d84544f cleanup 2004-07-01 22:40:03 +00:00
Pierangelo Masarati
e052d7297d `err' might be used uninitialized 2004-06-29 17:32:43 +00:00
Ralf Haferkamp
498530fc4c TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify() 2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d logging psearch return code 2004-06-28 23:51:17 +00:00
Pierangelo Masarati
a7a90609a9 propagate search result (maybe this is not what bdb_psearch() is intended to do...) 2004-06-28 21:08:32 +00:00
Jong Hyuk Choi
08949463c5 - use ctxcsn_locker for the ctxcsn add transaction
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Howard Chu
5fd7534f79 Fix previous commit, deleting under suffix... 2004-06-25 20:04:16 +00:00
Howard Chu
826b177877 More locking cleanup (ITS#3201, etc) 2004-06-25 05:29:33 +00:00
Howard Chu
3c68fc1f14 ITS#3201 fix conflict with BDB internal locks 2004-06-24 23:50:10 +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
Kurt Zeilenga
8bca3b42f9 Rework pre/post read controls to handle retry conditions...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f Move pre/post read calls into outer transaction.
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094 use ltid if it exists; use NULL otherwise. 2004-06-23 05:10:18 +00:00
Jong Hyuk Choi
bc6b28a650 using write lock in accessing pslist 2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9 use txn locker if it exists; get one otherwise. 2004-06-23 02:00:00 +00:00
Kurt Zeilenga
83476f2d98 Add pre-read FIXME comment 2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
b459e59394 patch for ITS#3173
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
18a68380f6 More paged results cleanup 2004-06-18 23:12:03 +00:00
Kurt Zeilenga
4b2fcbc14d Fix nentries logging 2004-06-18 23:10:26 +00:00