Commit Graph

121 Commits

Author SHA1 Message Date
Howard Chu
1bd689d5d0 Use generic filter for findbase 2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9 The rest of the reloadHint support... 2005-10-15 03:27:05 +00:00
Howard Chu
d98dee3e19 Add option to enable using the reloadHint. 2.2 consumers never sent this
hint. The 2.3 consumer needs it for delta-syncrepl.
2005-10-15 00:31:22 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
851c65ac5b ITS#4068 fix queued UUIDs 2005-10-07 00:31:38 +00:00
Howard Chu
f14f6472e7 Plug memleaks 2005-10-06 18:45:53 +00:00
Howard Chu
0f69daacac Don't flush psearch queue in main search, let the qtask do it. 2005-10-04 02:29:25 +00:00
Howard Chu
59155d9029 Fix abandon checks, syncop use count. 2005-10-03 22:59:25 +00:00
Howard Chu
2233041bd0 Fix prev commit op initialization, runqueue startup latency 2005-10-03 04:49:35 +00:00
Howard Chu
7486ef93df Tweak prev commit, avoid rescheduling running qtask 2005-10-02 12:28:50 +00:00
Howard Chu
190d6e768d Fix runq scheduling 2005-10-02 12:26:02 +00:00
Howard Chu
52e8aaea3c Fix prev commit modrdn 2005-10-02 10:48:28 +00:00
Howard Chu
4d44d54144 Minimize base lookups 2005-10-02 05:01:45 +00:00
Howard Chu
47a055b59b Always queue psearch responses (ITS#3671 revisited) 2005-10-02 03:58:00 +00:00
Howard Chu
285f841bd6 Add a "nopresent" keyword to skip the present phase; for backends that are
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
ba39e3fe00 ITS#3989 more fixes 2005-09-09 04:53:56 +00:00
Howard Chu
d567be70eb ITS#3989 fix crash - don't access freed psearch records 2005-09-08 02:19:05 +00:00
Howard Chu
fc8b2dda7c ITS#3989 fix ID used for syncprov_findbase 2005-09-02 10:08:44 +00:00
Hallvard Furuseth
a1a9507295 Remove unused variable 2005-08-26 21:42:48 +00:00
Pierangelo Masarati
afaf426231 need stricter sanity checks... 2005-08-25 08:57:08 +00:00
Howard Chu
1f78e2b831 ITS#3961 better fix - provide a context for the main thread. The context
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Howard Chu
88dd1c5659 More optimization for CSN filter checks 2005-08-15 07:18:19 +00:00
Howard Chu
8c20a11293 Fix prev commit 2005-08-15 05:36:56 +00:00
Howard Chu
71bc69bfff Optimize FINDCSN case 2005-08-15 00:04:13 +00:00
Howard Chu
f4c1eee382 ITS#3935 tweak sessionlog description 2005-08-14 08:35:31 +00:00
Howard Chu
c30992f05e ITS#3922 don't leak ber buffer on decode/parse errors 2005-08-09 00:26:39 +00:00
Howard Chu
28be8691cc ITS#3922 plug another cookie parsing leak 2005-08-09 00:11:42 +00:00
Howard Chu
9365649dad ITS#3922 fix syncrepl ctxcsn leak 2005-08-08 12:38:19 +00:00
Hallvard Furuseth
a3f3143cc5 Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry. 2005-08-02 08:43:27 +00:00
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