[PATCH] Schema replication

Stefan (metze) Metzmacher metze at samba.org
Fri Dec 10 02:11:48 MST 2010


Am 10.12.2010 03:54, schrieb Kamen Mazdrashki:
> Hi,
> 
> I would like to push another patchset according to the plan I've sent
> few days ago
> (hm, 10 days ago actually).
> the_plan: http://lists.samba.org/archive/samba-technical/2010-November/074938.html
> 
> In this edition I've stuck on the case when we replicate a Schema, extended with
> an classSchema inheritet from another custom Class with added attribute.
> 
> I've tried to write down more detailed commit messages. Hope this helps.

I'm not sure it's correct to always use a new working schema, while
replicating
the schema partition, is the remote and local prefix map match we don't
need that
overhead.

As far as I understand with your patches it would be possible that
we endup with a different prefix map than the other DC and I'm
not sure if that's the right behavior.

My guess is that the remote prefix map is always a superset of the local
prefix map and we should just takeover the remote prefix map as local one.

I guess in that case we wouldn't need an extra working schema at all,
because the remote prefix map should be everything we need to replicate the
schema.

Then we just need to reload the schema after the replication cycle.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101210/c2e145ae/attachment.pgp>


More information about the samba-technical mailing list