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

Re: Partial replication

On Thu, Apr 01, 2010 at 03:53:32PM -0700, Howard Chu wrote:

> Multiple agreements with the same provider won't work, since there will 
> only be one contextCSN sent from the master. After the first consumer runs, 
> the second one will assume it is up to date.

Good point - I had forgotten that.

> The correct solution here is to use a extended filter with dnSubtreeMatch 
> on each desired branch.

So in this case with the tree:


the syncrepl clause on the location A slave would contain something like


Unfortunately, when I look back at the original question I see that the
slave server is physically located at location A and the security
policy does not permit people at that location to see any data belonging
to the other locations. Limiting the replication by this method leaves
open the possibility that someone at location A might change the config
to allow them to see data from location B, so the master server is still
going to need ACLs to prevent that.

|                 From Andrew Findlay, Skills 1st Ltd                 |
| Consultant in large-scale systems, networks, and directory services |
|     http://www.skills-1st.co.uk/                +44 1628 782565     |