Commit Graph

864 Commits

Author SHA1 Message Date
Pierangelo Masarati
559cf8bfb1 revert previous commit 2004-10-08 00:27:26 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Jong Hyuk Choi
db4bc08d8c misc cleanup 2004-10-05 00:33:00 +00:00
Pierangelo Masarati
0c1f1f959f minor cleanup 2004-10-04 20:55:09 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +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
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Jong Hyuk Choi
86aa3728b9 referral mem leak fix 2004-09-14 01:03:08 +00:00
Pierangelo Masarati
431acda61b trying to make names consistent 2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Jong Hyuk Choi
76dfffafe4 fix for test019 glitch 2004-09-03 12:16:15 +00:00
Howard Chu
88e2771bca ITS#3309 better fix, add op->ord_csn in frontend and use it in backend. 2004-09-02 11:05:13 +00:00
Howard Chu
5c1c0902b4 ITS#3309 fix syncrepl psearch propagation of Delete operations 2004-09-01 03:23:36 +00:00
Luke Howard
8d1f26b7b6 Check for opinfo->boi_txn before using it - sometimes it is NULL even if
opinfo isn't
2004-08-26 10:17:53 +00:00
Luke Howard
739dcf2193 boi_bdb must be set 2004-08-26 05:27:59 +00:00
Howard Chu
05e7632c30 ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND 2004-08-25 20:53:39 +00:00
Howard Chu
5cba217006 ITS#3301 check for dn2entry failure 2004-08-25 13:55:55 +00:00
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