[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: subtree replication



Mark Soldavini wrote:
> 
> I did a checkout of cvs using the following command:
> 
> cvs -z3 co -P -rHEAD ldap
> 
> and I still see the same set of code, referred to below, for
> the  subtree replication feature.  I thought you were saying a
> different version was present on HEAD?

I think I misunderstood your question. Yes, slurpd does a noop
when seeing the "suffix" parameter in the replica statement;
however, slapd adds the "replica: host[:port]" line before writing
a change to the replog file in case the entry matches the suffix
parameter for that replica. The subtree replication is slapd-,
not slurp-driven. In this sense, the replicating server decides 
what should be sent to the slave (and in this sense an ACL-based
replication should be intended).

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati