Commit Graph

316 Commits

Author SHA1 Message Date
Pierangelo Masarati
5ed0fc3749 re-fix previus commit the other way 'round (rids are < 1000) 2007-02-24 18:29:55 +00:00
Pierangelo Masarati
b0f63112be fix type/format mismatch 2007-02-24 18:00:46 +00:00
Howard Chu
06212e9de9 Plug leaks 2007-02-16 02:22:24 +00:00
Howard Chu
7dc2199bfd Fix rev 1.312 2007-02-14 00:08:26 +00:00
Howard Chu
59d4b38a7c syncinfo_free must be able to free multiple syncinfos 2007-02-13 14:35:53 +00:00
Howard Chu
ab2a55d222 Coverity error 2007-02-13 11:03:41 +00:00
Howard Chu
c5b33893f0 Fix fetching of initial contextCSN, updating from syncprov 2007-02-07 06:26:22 +00:00
Howard Chu
04f46aa880 ITS#4832 fix unint'd var 2007-02-07 00:41:15 +00:00
Howard Chu
3f20aa245f Partially revert prev commit, delete unused parameter, fix psearch response 2007-02-06 05:58:01 +00:00
Howard Chu
1403491288 Fixes for glue and persist chaining 2007-02-06 05:29:00 +00:00
Howard Chu
d87d11eb09 Add a debug message when skipping an old entry. 2007-02-06 00:06:09 +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
2432378de8 Fix compare_csns to accept new cookie when there are more CSNs than
we knew about before
2007-02-05 11:03:36 +00:00
Howard Chu
d57ad4f3c0 More for contextCSN checks 2007-02-05 07:36:07 +00:00
Howard Chu
f41343aa21 Add entryCSN comparison for consistency check 2007-02-05 06:07:27 +00:00
Howard Chu
9320f002e3 Fix prev commit, doesn't need permissive modify 2007-02-05 05:59:43 +00:00
Howard Chu
21b49a09e7 Use permissive modify on contextCSN 2007-02-05 05:25:13 +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
Howard Chu
7d2a744acf Fix prev commit 2007-02-04 00:16:54 +00:00
Howard Chu
8b43a8475f Fix ITS#4827, was losing the entryCSN mod. 2007-02-01 05:21:21 +00:00
Pierangelo Masarati
fd71fdf83e plug one-time leaks related to configuration 2007-01-27 21:15:11 +00:00
Pierangelo Masarati
5bf79a5686 fix modify opattrs sync replication (ITS#4820; test019 can't be fixed right now) 2007-01-27 16:38:20 +00:00
Howard Chu
c49f17bfdd Check for duplicate UUIDs due to ITS#4813 patch 2007-01-25 08:35:27 +00:00
Howard Chu
5a263ba88f ITS#4805 plug remaining leak 2007-01-25 07:10:34 +00:00
Howard Chu
009e911a9d Listener commit broke test048, skip listener check on Hidden DBs 2007-01-25 05:57:47 +00:00
Howard Chu
59ff8cc795 Don't touch any other opattrs when updating contextCSN 2007-01-24 09:29:28 +00:00
Howard Chu
d84d5e98fb ITS#4809 add reqMod attribute to modrdn records so that operational
attributes may be propagated. use them in delta-sync.
2007-01-24 09:10:37 +00:00
Howard Chu
c9dd0afdff Finish prev fix, entryUUID was getting dropped 2007-01-24 05:02:52 +00:00
Howard Chu
11b1818b16 Partial fix for prev commit 2007-01-22 14:38:07 +00:00
Howard Chu
c3545e6060 New modify handler, compares old and new entry and to generate deltas.
Avoids unnecessary rewrites of unchanged attributes.
2007-01-22 10:04:10 +00:00
Howard Chu
07aca1c9a6 Preliminary steps to enabling sync replication of config. Needs work.
Allow configuring a consumer on the provider that points to the provider
but is a no-op. This ensures that the consumer will continue to be a
consumer after the replication occurs.
2007-01-21 13:44:32 +00:00
Pierangelo Masarati
8b2e8ece5c fix leak (ITS#4805) 2007-01-15 15:02:14 +00:00
Howard Chu
f2be5ad0e7 Log errors in delta sync 2007-01-12 09:59:15 +00:00
Howard Chu
1cc1f9b18a Make syncrepl inherit default TLS settings from main slapd config (except
for reqcert, default demand)
2007-01-08 20:16:45 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
c3960b98d3 fix RID format 2006-12-24 15:43:43 +00:00
Howard Chu
45fbb173b7 Pass op to slap_mods_check() 2006-12-24 06:55:02 +00:00
Quanah Gibson-Mount
0523f0e3a7 cleanup 2006-12-16 03:33:27 +00:00
Howard Chu
69c4495bc2 ITS#4768 more be_add fallout 2006-12-12 21:00:12 +00:00
Pierangelo Masarati
41c4afb331 improve error message 2006-12-02 16:17:01 +00:00
Howard Chu
28bd54a06d ITS#4755 add rid to syncrepl debug msgs 2006-11-17 02:11:57 +00:00
Howard Chu
510c2b881e ITS#4746 additional leaks 2006-11-13 02:57:05 +00:00
Howard Chu
c9da788f78 ITS#4746 plug leaks 2006-11-13 02:44:45 +00:00
Howard Chu
b14e6e00b5 ITS#4695 same fix for delta-sync 2006-10-06 01:57:50 +00:00
Howard Chu
4e9c39d626 ITS#4695 fix modrdn newSup 2006-10-05 03:56:23 +00:00
Pierangelo Masarati
8eb455e7b2 add sb_version to slap_bindconf;
rework slap_client_connect() and slap_discover_feature() accordingly
2006-09-11 00:52:43 +00:00
Pierangelo Masarati
5c9eb73df7 make sure we got the right control... 2006-09-11 00:06:03 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
cc84163f30 factor connection code out of syncrepl 2006-08-04 19:20:59 +00:00
Howard Chu
5757065736 ITS#4622
syncrepl: don't save contextCSN on incoming context entry
  syncprov: delete contextCSN on checkpoint if ctxcsn is empty
2006-07-27 10:44:22 +00:00