Commit Graph

10804 Commits

Author SHA1 Message Date
Howard Chu
993fbf4514 Short-circuit backend_operational; sent entry's e_private doesn't belong
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e ITS#6368 use dup'd entries in response queue 2009-11-22 04:42:00 +00:00
Howard Chu
77680f78a8 ITS#6394 partially revert ITS#5108. Use RID_MAX, as originally designed. 2009-11-22 00:08:52 +00:00
Pierangelo Masarati
c315ede9d5 connid is unsigned; offset real conns by maxrid + 1 2009-11-21 21:44:45 +00:00
Howard Chu
2fd6d4749a Cleanup pointless compare in debug msgs 2009-11-21 21:34:33 +00:00
Pierangelo Masarati
39f0d79485 use macros for fake connid 2009-11-21 21:02:49 +00:00
Howard Chu
4105ee462d ITS#6393 syncrepl internal connids are now <= -1000 2009-11-21 20:22:18 +00:00
Howard Chu
650ebba22b Fix prev commit 2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9 in op_response, rearrange contextCSN update checks 2009-11-21 11:43:01 +00:00
Howard Chu
75d1e515ee in updateCookie, no-op if nothing changed 2009-11-21 11:38:42 +00:00
Howard Chu
9992d5c43a Ignore attempts to Add cn=schema,cn=config 2009-11-21 07:13:48 +00:00
Howard Chu
f664cbfb4c Use unique IDs for fake syncrepl connections 2009-11-21 06:54:58 +00:00
Howard Chu
c6de7bf853 ITS#6392 fix authid-rewrite parsing 2009-11-21 04:44:51 +00:00
Howard Chu
572e16883c Braindead serialization for #6368/test050 2009-11-21 04:14:40 +00:00
Howard Chu
af0d762c1c Mostly revert prev commit, broke test054 2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db Always log outgoing cookie, just use op->o_csn instead of commit_csn since
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
3dd04151f5 Always log rid with incoming cookie 2009-11-21 02:34:10 +00:00
Howard Chu
60d83e06b8 Fix typo in 1.487 2009-11-20 23:20:37 +00:00
Howard Chu
d283f02c45 Fix prev commit 2009-11-20 22:52:47 +00:00
Howard Chu
2aadfa5d86 Reject old ops based on pending ops, not just committed ops 2009-11-20 22:47:48 +00:00
Howard Chu
2f351f964d Move connection state enums to slap.h to ease debugging 2009-11-19 11:24:14 +00:00
Howard Chu
198cbd6ea8 ITS#6368 partially revert 1.273, always check for skips, not just on
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10 ITS#6387 plug leaks 2009-11-18 23:58:39 +00:00
Howard Chu
ffb06848ff ITS#6368 add another call to check_syncprov to make sure cookie is fresh 2009-11-18 22:06:02 +00:00
Howard Chu
42e56b95d5 Don't allow any other jobs if a -q job is active 2009-11-18 21:08:48 +00:00
Pierangelo Masarati
272abc5561 don't test a NULL BackendDB * (ITS#6385) 2009-11-18 09:51:49 +00:00
Pierangelo Masarati
1ec443df53 trim unnecessary test 2009-11-16 10:02:47 +00:00
Pierangelo Masarati
3768fbbd30 warn if retry is not forever 2009-11-16 09:58:12 +00:00
Pierangelo Masarati
70a71edffb trim unwanted commit 2009-11-16 09:55:27 +00:00
Howard Chu
99381a43e1 ITS#6304 retry if tls_accept() returns 1 2009-11-15 22:39:35 +00:00
Howard Chu
4cabc24269 ITS#6363 cleanup prev commit 2009-11-15 21:36:23 +00:00
Howard Chu
c419a3e4f7 ITS#6367 use correct SID in our request cookie 2009-11-15 19:15:12 +00:00
Howard Chu
fbe532b099 Use sl_mfunc instead of direct reference to slap_sl_free 2009-11-15 19:13:51 +00:00
Pierangelo Masarati
07dc23f5ee treat bervals as bervals (related to ITS#6378,ITS#6379) 2009-11-15 18:26:53 +00:00
Howard Chu
ff98f4abc5 Use fake_init2 in db_open/db_close since they can execute from a
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Howard Chu
68ab1a2272 Cleanup 2009-11-15 10:34:10 +00:00
Howard Chu
cd99d851a2 Fix uninit'd var 2009-11-15 08:59:56 +00:00
Howard Chu
c9d86af0ba Fix 1.49 sl_realloc 2009-11-15 03:02:09 +00:00
Howard Chu
1eebd22151 Add a note about sl_malloc stack-based behavior 2009-11-14 23:25:14 +00:00
Howard Chu
3fbbd8ea3f Mark freed regions so they can be reclaimed 2009-11-14 23:20:44 +00:00
Howard Chu
67edd75e48 Cleanup for 2009-11-14 21:53:06 +00:00
Howard Chu
b800bd4729 ITS#6377, fix rev 1.478 2009-11-14 21:25:11 +00:00
Pierangelo Masarati
9cfa465107 handle embedded '\0' (ITS#6379) 2009-11-14 16:45:13 +00:00
Howard Chu
dd2f158b52 Fix prev commit 2009-11-14 09:35:23 +00:00
Howard Chu
fe911c5960 ITS#6376 plug potential leak 2009-11-14 09:34:29 +00:00
Howard Chu
d6fbe1c7ca ITS#6361 remove asserts 2009-11-13 23:48:51 +00:00
Howard Chu
480d306186 ITS#6373 fix subentry keyword 2009-11-11 04:09:26 +00:00
Howard Chu
3f9e8eeeec ITS#6373 more for subentry creation 2009-11-11 04:03:27 +00:00
Howard Chu
9ad558b78c ITS#6373 create subentry if missing 2009-11-11 03:36:46 +00:00
Howard Chu
46a97b9204 ITS#6373 sync_use_subentry support 2009-11-11 03:19:01 +00:00