Pierangelo Masarati
7dc7c60c4b
improve previous commit; fix ITS#5108 by letting both SID and RID be 0..4095, input/output in decimal, but consistently handled in hexadecimals within CSN
2007-08-26 17:03:22 +00:00
Pierangelo Masarati
46ab91eeba
fix ITS#5005
2007-06-19 13:18:17 +00:00
Hallvard Furuseth
d84399e344
Unused varaibles
2007-05-18 14:46:52 +00:00
Howard Chu
06212e9de9
Plug leaks
2007-02-16 02:22:24 +00:00
Howard Chu
578a2b0db4
Default to no sid in initial cookie
2007-02-06 01:19:06 +00:00
Howard Chu
250cbd286a
Optimization: send sid in cookie to avoid getting our changes sent
...
back to us.
2007-02-05 23:10:22 +00:00
Howard Chu
42aca03eea
Fix typos
2007-02-05 07:55:24 +00:00
Howard Chu
36571123ca
Fix prev commit
2007-02-05 06:47:32 +00:00
Howard Chu
fffaea79eb
Preliminary multi-context support for syncrepl. Passes all single-master
...
tests, needs multi-master testing.
2007-02-05 04:50:07 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
decba67ee9
ITS#4589 fix slap_compose_sync_cookie
2006-06-15 23:54:51 +00:00
Pierangelo Masarati
95b29919a3
more ITS#4503 cleanup
2006-04-25 19:30:48 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Howard Chu
82998790bb
Cleanup
2005-10-06 19:11:13 +00:00
Howard Chu
0b2a428a29
ITS#3917 don't check csn syntax if schema isn't inited yet
2005-08-08 23:56:40 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00
Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Howard Chu
27f7aa5b54
Minor cleanup
2005-01-14 05:10:23 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +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
d3d73a0b96
Delete unused slap_build_syncUUID_set()
2004-12-07 18:29:21 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
1372965d89
ITS#3092: Rename sl_free() and friends to slap_sl_free()
2004-04-20 03:44:57 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Pierangelo Masarati
f2a9089e4d
cleanup most of the -pedantic warnings (ITS#2884) and other small fixes
2003-12-17 20:55:46 +00:00
Kurt Zeilenga
12d5c6bba2
Move global to ldapsync
2003-11-30 01:09:12 +00:00
Hallvard Furuseth
d0a0687a26
Avoid 'suggest parentheses' warnings.
2003-11-29 17:27:44 +00:00
Hallvard Furuseth
2448725f9a
#include lber-int.h, to get ber_strndup().
...
The right fix may be for slap.h to #include it instead, since
ber_strndup() is used via SLAP_STRNDUP() which is #defined in slap.h.
2003-11-28 22:05:38 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
1fdda703e6
Support multiple sync replication at the consumer :
...
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
(include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +00:00
Jong Hyuk Choi
f97dc983ac
Collective entryUUID transmission of PRESENT messages in a single PDU
...
(refer to draft-zeilenga-ldup-sync-04.txt)
2003-11-20 02:14:47 +00:00
Jong Hyuk Choi
e9115c2f09
exchange normalized entryUUID
2003-11-19 07:28:42 +00:00
Jong Hyuk Choi
8ee301e011
csn format update & cleanup
2003-11-18 22:42:13 +00:00
Jong Hyuk Choi
f6db6d336f
misc cleanup
2003-11-18 19:08:33 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00