[Freeipa-devel] [PATCH] assign unique replica ID to all instances

Rob Crittenden rcritten at redhat.com
Wed Oct 29 17:40:18 UTC 2008


Ensure that every replica gets a unique replication ID. Otherwise
changes won't propogate between all replicas.

I create a new entry, cn=replication, cn=etc, that will hold the next 
replication ID to assign. When a new replica is being created it 
requests this number, then increments it and writes it back.

This does leave some amount of exposure to a collision but I think the 
risk is quite low. Creating replicas is a very uncommon activity.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-94-replication.patch
Type: text/x-patch
Size: 4832 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20081029/76cfca4d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20081029/76cfca4d/attachment-0001.bin>


More information about the Freeipa-devel mailing list