Commit Graph

158 Commits

Author SHA1 Message Date
Howard Chu
b8309b4cf8 Cleanup db_lock/unlock parameters 2006-12-31 23:37:06 +00:00
Howard Chu
3711183610 Skip checkpoint call if size was not specified - defer time-based
checkpoints to the runq job
2006-11-27 19:54:04 +00:00
Pierangelo Masarati
fb2d3926ce only abort update if failed pre/post read control is critical: the only thing RFC 4527 says about failure is that in case of failure of the read, no control is appended to the result message; maybe no failure should ever occur (please review) 2006-10-14 01:08:41 +00:00
Ralf Haferkamp
b8bf18f36b ITS#4532: check *pre/postread_ctrl before freeing 2006-05-10 09:07:37 +00:00
Kurt Zeilenga
5487575086 Add link to FAQ entry on BDB tuning 2006-03-30 17:56:56 +00:00
Kurt Zeilenga
71511a0569 more txn infrastructure 2006-03-08 05:54:10 +00:00
Kurt Zeilenga
815c178edc control/TXN cleanup 2006-03-07 22:05:57 +00:00
Kurt Zeilenga
247536744e Some more txn infrastructure 2006-03-07 08:07:21 +00:00
Howard Chu
fe3b6d0071 ITS#4384 rework entryCSN handling, retrieve from incoming request
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
a4a85e03c1 ITS#3950 delete gratuitous yield()s 2006-01-15 13:33:29 +00:00
Pierangelo Masarati
3037a199d4 part of o_csn memory handling cleanup 2006-01-06 16:32:33 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
553b2884ab cache LRU concurrency improvements, reorder DB accesses for consistency 2005-12-09 00:20:18 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
6e2c36b03d Fix noop behavior, don't same TXN twice. Use consistent return code. 2005-10-17 08:09:28 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Howard Chu
1ea0c0dbda Remove obsolete csn variables 2005-10-12 07:59:51 +00:00
Howard Chu
e3703bfaab Propagate Abandon to allow cleanup callbacks to run 2005-04-28 18:50:24 +00:00
Howard Chu
b45a912070 Check for abandon during transaction retry 2005-04-28 18:45:31 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Kurt Zeilenga
71c2c1c9fe Change "subtree delete not supported" diagnostic text to
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
df3d8f3e30 Cleanup unused variables 2005-02-20 04:59:29 +00:00
Howard Chu
1dbe92c27b Delete dubious use of be_syncinfo - only the consumer can write the
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
aa27cb2262 Delete obsolete syncprovider stuff 2005-01-14 05:49:45 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
30a6f4d24d Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
3426a11983 More BDB_PSEARCH cleanup 2004-11-26 09:39:33 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Pierangelo Masarati
bc478dee46 log the right function names 2004-11-17 14:53:03 +00:00
Pierangelo Masarati
be32dce97f rework static backend initialization 2004-11-11 00:38:11 +00:00
Jong Hyuk Choi
62febe5dff fix slap_sl_free() calls in pre / post read controls 2004-11-10 21:38:41 +00:00
Jong Hyuk Choi
b6f77e2936 ldapsync fix for recursive deletion (ITS#3385) 2004-11-10 03:52:12 +00:00
Howard Chu
504d7ea261 Assist in cache debugging 2004-11-08 04:23:37 +00:00
Howard Chu
501f749c05 Don't access entry after commit; it may be gone if the cache is full 2004-10-30 23:48:26 +00:00
Jong Hyuk Choi
0af878ac3f syncrepl consistency patch: utilize BDB txn rollback 2004-10-12 17:53:50 +00:00
Jong Hyuk Choi
4efd705cc3 syncrepl consistency patch 2004-10-09 09:26:16 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Jong Hyuk Choi
86aa3728b9 referral mem leak fix 2004-09-14 01:03:08 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +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
Jong Hyuk Choi
2adcccb27d logging psearch return code 2004-06-28 23:51:17 +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
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
bc6b28a650 using write lock in accessing pslist 2004-06-23 02:07:12 +00:00