Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +00:00
Hallvard Furuseth
ac7513155b
fbuf in syncprov_findcsn() got used before it was fully filled in
2005-07-10 10:20:21 +00:00
Howard Chu
6236574efc
ITS#3456 better fix, use a child thread.
2005-06-30 04:06:40 +00:00
Howard Chu
0e00a1af79
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
...
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.
2005-06-30 03:42:51 +00:00
Howard Chu
8f58409749
Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
...
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Howard Chu
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Howard Chu
bd63507868
Table-driven config
2005-05-09 05:02:01 +00:00
Howard Chu
3a42760472
ITS#3671 more abandon/error checks
2005-04-28 18:36:47 +00:00
Howard Chu
df22b333a5
Mroe abandon checks for ITS#3671
2005-04-28 16:45:52 +00:00
Howard Chu
67c68bab9c
More for ITS#3671, check for Abandon before replaying queued events
2005-04-28 16:21:52 +00:00
Howard Chu
842b5ce076
ITS#3682, dup entry and free the DB's copy before sending it
2005-04-26 02:01:19 +00:00
Howard Chu
75164fbe1c
ITS#3671 make sure to flush queue when able
2005-04-25 00:38:37 +00:00
Howard Chu
bae2f5f083
Fix modify deadlock
2005-04-25 00:07:26 +00:00
Howard Chu
acd1e2852a
Better fix for #3671
2005-04-24 23:20:15 +00:00
Howard Chu
895b74cb1d
ITS#3671 free all locks before calling send_search_*, queue entries if
...
the connection is busy. Probably need to set a queue limit here and
abandon the psearch if the limit is reached.
2005-04-24 22:55:21 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +00:00
Howard Chu
94b3f430cf
Fix cancel cleanup
2005-02-18 07:12:57 +00:00
Howard Chu
2964bfc48b
ITS#3549 acknowledge CANCEL requests
2005-02-18 01:08:47 +00:00
Pierangelo Masarati
5b193c218f
fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now
2005-01-25 19:39:56 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
83fc428a44
make sure the attribute exists
2005-01-08 09:59:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
c9156d7995
cleanup
2004-12-31 12:02:35 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +00:00
Howard Chu
73bab2b619
Moved cookie validation into slap_parse_sync_cookie so consumer uses it too
2004-12-10 03:18:33 +00:00
Howard Chu
ccdbb52266
Don't reject invalid cookies, just ignore them. partially revert prev.
2004-12-10 02:51:34 +00:00
Howard Chu
9a6e040373
Fix, don't record psearch until after it has been validated
2004-12-10 01:50:16 +00:00
Howard Chu
480394acef
Fix abandon, only drop our cloned ops, not real frontend ops
2004-12-10 01:35:34 +00:00
Howard Chu
19abba6cc2
Fix abandon processing
2004-12-09 22:21:26 +00:00
Howard Chu
41aaaf0b8d
Persist mode fixes
2004-12-09 19:52:30 +00:00
Howard Chu
cf137fc9ef
Fix 1.48 change
2004-12-09 09:20:11 +00:00
Howard Chu
c83a74f4f3
Add better validation of received cookie csn
2004-12-09 08:49:54 +00:00
Howard Chu
4b736945be
A better approach for detach_op
2004-12-09 08:28:12 +00:00
Howard Chu
bbe93b5141
ITS#3426, copy group ACL cache to saved Op
2004-12-09 08:14:57 +00:00
Howard Chu
b8c6727dc9
Fix playlog search
2004-12-08 02:05:50 +00:00
Howard Chu
8bad70d957
Added sessionlog support. consumer needs work...
2004-12-08 00:47:24 +00:00
Howard Chu
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +00:00
Howard Chu
4ae3efbdd7
Rearrange shortcut check for context with no changes
2004-12-07 10:43:48 +00:00
Howard Chu
c14cf9c7c8
Preallocate syncuuid set instead of realloc/freeing
2004-12-07 10:05:24 +00:00
Howard Chu
bc09291b81
restore code in search_cleanup to free ctrls
2004-12-07 02:58:33 +00:00