<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 07/03/2015 02:03 PM, Petr Spacek
      wrote:<br>
    </div>
    <blockquote cite="mid:55967A0A.5070605@redhat.com" type="cite">
      <pre wrap="">On 3.7.2015 11:45, thierry bordaz wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 06/30/2015 03:54 PM, Ludwig Krispenz wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

389-ds allows to configure the max size of the replication changelog either
by setting a maximum record number or a maximum age of changes.
freeIPA does not use this setting. In the context of ticket
<a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/5086">https://fedorahosted.org/freeipa/ticket/5086</a> we are discussing to change the
default to
enable changelog trimming.

Does anyone already use changlog trimming or is there a  scenario where you
rely on all changes being available ?

Thanks for your feedback,
Ludwig

</pre>
        </blockquote>
        <pre wrap="">Hello,

   I think it is reasonable to set nsds5ReplicaPurgeDelay and
   nsslapd-changelogmaxage to similar value.

   When a replica (master or consumer) is down for some time and is
   restarted, both attribute express the ability to get the replica in
   sync with the rest of the topology.
   It can work (and likely will) if
   nsds5ReplicaPurgeDelay<nsslapd-changelogmaxage but there are always
   corner cases that can lead to problem (like entries that diverge).

   Currently purgedelay=7days (default) and changelogmaxage is infinite
   and changing purgedelay=infinite impacts the size of the entries.
</pre>
      </blockquote>
      <pre wrap="">
I wonder if these values could/should be controlled by topology plugin. Does
it make sense to have different values on different replicas?

</pre>
    </blockquote>
    <font face="Times New Roman, Times, serif">Purgedelay can be
      different on each replica but it makes sense that the value is the
      same on all replicas. It is used to remove too old csn and so how
      far in the past the replication can decide which value is more
      recent than an other one. With different values of purge delay, a
      replica can decide to keep one value and an other replica can
      decide the opposite.<br>
      Currently purgedelay is identical on all replicas (default value).<br>
    </font><br>
  </body>
</html>