Howard Chu
2821d0bdd6
Add connection_fake_init()
2004-03-17 19:33:13 +00:00
Jong Hyuk Choi
33442d7ced
for ITS#3105
2004-03-10 21:49:08 +00:00
Jong Hyuk Choi
4bb948620a
checking limits at the frontend
2004-03-09 20:43:01 +00:00
Jong Hyuk Choi
ede2f47452
supress log message for glue add case
2004-03-09 00:34:32 +00:00
Jong Hyuk Choi
4e3c30bbf0
misc addition to the previous glueing commit
2004-02-24 01:55:59 +00:00
Jong Hyuk Choi
d7d19b7420
Glue entry pruning: delete parent entries when they are glues and become leaves
2004-02-23 22:49:24 +00:00
Jong Hyuk Choi
53d191e14d
syncrepl update: 1) improve error handling 2) glueing support for non-leaf deletion (TODO : deletion of leaf glue entries in the delete / modrdn code)
2004-02-22 20:44:44 +00:00
Jong Hyuk Choi
7707a66d33
fix for ITS#2947
2004-02-06 22:41:55 +00:00
Howard Chu
c9d033ae30
Fix syncrepl slapd_shutdown detection, would not stop on a gentlehup.
2004-01-15 21:35:05 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
c7f1759e80
Misc cleanup
2003-12-30 01:26:38 +00:00
Howard Chu
be1a728c5b
Added sc_next and sc_cleanup to slap_callback
2003-12-07 08:51:23 +00:00
Howard Chu
74db966ebb
Move SLAB_SIZE def to slap.h
2003-12-06 22:30:45 +00:00
Hallvard Furuseth
1fc24a3a82
Fix format errors: %d -> %ld, and add (long) casts as appropriate.
2003-11-28 22:06:54 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
4ae382fd79
misc updates
...
- syncrepl : id -> rid
- man page update
2003-11-26 21:37:44 +00:00
Jong Hyuk Choi
5d411fd963
Another patch for the multi syncrepl thread support
2003-11-26 20:40:16 +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
9965ccc224
add slap_uuidstr_from_normalized() - any better place to put this ? liblutils ?
2003-11-19 00:45:20 +00:00
Jong Hyuk Choi
2d7481d662
adjust cookie precedence : command line cookie has higer precedence over stored cookie
2003-11-13 01:11:07 +00:00
Jong Hyuk Choi
64dd6a0760
fix for the cascading replication (reenabling test019)
2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
0db0d4e005
fix typo
2003-11-12 07:05:12 +00:00
Jong Hyuk Choi
e36f1398f0
misc cleanup
2003-11-12 00:24:11 +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
Howard Chu
d46195d08d
ITS#2805 fix core dump using LDBM
2003-11-03 09:54:28 +00:00
Howard Chu
ccf224a759
ITS#2808 fix UUIDNormalize, use it.
2003-11-03 08:22:13 +00:00
Howard Chu
8acb1a0466
Fix refresh mode rescheduling
2003-11-03 06:57:13 +00:00
Howard Chu
fab84134ba
ITS#2806 fix abort
2003-11-01 23:03:44 +00:00
Howard Chu
5ed0318b79
Fix retry on failure
2003-10-25 22:07:31 +00:00
Howard Chu
782d1be0ad
Fix prev commit, don't timeout outbound connections
2003-10-25 21:14:07 +00:00
Howard Chu
08676eb49d
Add support for outbound connections in main listener.
...
Restructure syncrepl/persist to use outbound connection manager.
2003-10-24 12:57:24 +00:00
Howard Chu
645c2bcb02
Drop unused arguments from syncrepl_add_glue
2003-10-24 08:10:16 +00:00
Howard Chu
f9a8093c83
Drop SLAPI support
2003-10-24 06:06:55 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Howard Chu
ac7404eabd
Fix error recovery, cleanup session handles. Always reschedule task
...
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.
2003-10-24 04:11:28 +00:00
Howard Chu
72ace288e8
Fix prev commit, avoid abort when entry is NULL
2003-10-22 07:57:25 +00:00
Jong Hyuk Choi
11e23f6903
syncrepl_entry() return code fix (returns 1 when e needs to be freed)
2003-10-22 06:28:34 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Jong Hyuk Choi
8b8383a85d
fix for changing si->syncCookie to bvarray
2003-10-21 22:02:30 +00:00
Howard Chu
ab2a7195d0
Fix cookie search
2003-10-21 08:26:58 +00:00
Kurt Zeilenga
4821c2c6ed
Avoid questionable use of strlen(), strcpy(), and strcat().
2003-10-20 22:23:11 +00:00
Howard Chu
91ebcd87bd
Fix prev commit, syncrepl_add_glue must start from sufix
2003-10-19 08:57:30 +00:00
Howard Chu
b144ca2169
ITS#2684 fix bogus entry_free(), connection problem remains
2003-10-19 04:42:02 +00:00
Howard Chu
f0c8dcc331
ITS#2778 use real malloc for new entry, not sl_malloc
2003-10-19 02:18:38 +00:00
Howard Chu
08407b5b00
More malloc cleanup
2003-10-19 00:30:55 +00:00
Howard Chu
b6835be962
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
2003-10-18 14:13:37 +00:00
Jong Hyuk Choi
13f981fdd4
remove #include <db.h> (ITS#2765)
2003-10-14 20:22:09 +00:00