Commit graph

10816 commits

Author SHA1 Message Date
Howard Chu
3b2380254a ITS#6400 clarify... 2009-11-24 03:41:24 +00:00
Howard Chu
fae4df1ed6 more for #6397 2009-11-23 22:17:25 +00:00
Howard Chu
e72e0507f8 ITS#6397 cleanup psearch if cookie is stale 2009-11-23 22:13:42 +00:00
Hallvard Furuseth
bbd238e38b ITS#6398: plug memory leak of confdir 2009-11-23 21:52:11 +00:00
Hallvard Furuseth
da747ed63a Fix rev 1.200 commit: C90 forbids mixed declarations and code 2009-11-23 16:04:00 +00:00
Howard Chu
e3c01a32f8 Revert pending CSN if the update fails 2009-11-22 19:30:50 +00:00
Pierangelo Masarati
1cf63599fe revert previous commit 2009-11-22 19:09:24 +00:00
Howard Chu
faddd86f54 Revert prev commit, simpler fix... 2009-11-22 17:43:48 +00:00
Pierangelo Masarati
78a6a16615 silence signedness warnings 2009-11-22 14:58:18 +00:00
Pierangelo Masarati
f59337655e use keepalive stuff when connecting as a client via bindconf (second part of ITS#6389) 2009-11-22 13:05:58 +00:00
Pierangelo Masarati
14c3f7de57 allow parsing/unparsing of keepalive stuff in bindconf (first part of ITS#6389) 2009-11-22 12:51:45 +00:00
Pierangelo Masarati
1970251bb7 check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391) 2009-11-22 11:57:17 +00:00
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