[Freeipa-devel] [PATCH 0064] Create ipa-otp-decrement 389DS plugin

Nathaniel McCallum npmccallum at redhat.com
Wed Oct 8 22:15:35 UTC 2014


On Wed, 2014-10-08 at 17:19 -0400, Simo Sorce wrote:
> On Wed, 08 Oct 2014 15:53:39 -0400
> Nathaniel McCallum <npmccallum at redhat.com> wrote:
> 
> > As I understand my code, all servers will have csnD. Some servers will
> > have valueB and others will have valueD, but valueB == valueD.
> > 
> > We *never* discard a CSN. We only discard the counter/watermark mods
> > in the replication operation.
> 
> What Thierry is saying is that the individual attributes in the entry
> have associate the last CSN that modified them. Because you remove the
> mods when ValueD == ValueB the counter attribute will not have the
> associated CSN changed. But it doesn't really matter because the plugin
> will always keep things consistent.

Attached is a new version. It removes this optimization. If server X has
valueB/csnB and receives valueD/csnD and valueB == valueD, the
replication will be applied without any modification. However, if valueB
> valueD and csnD > csnB, the counter mods will still be stripped.

It also collapses the error check from betxnpre to bepre now that we
have a fix for https://fedorahosted.org/389/ticket/47919 committed. The
betxnpre functions are completely removed. Also, a dependency on 389
1.3.3.4 (not yet released) is added.

Nathaniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-npmccallum-0064.6-Create-ipa-otp-counter-389DS-plugin.patch
Type: text/x-patch
Size: 34185 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20141008/2400c739/attachment.bin>


More information about the Freeipa-devel mailing list