<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 30.10.2015 10:08, thierry bordaz
      wrote:<br>
    </div>
    <blockquote cite="mid:56333383.2060604@redhat.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 10/30/2015 09:57 AM, Ludwig
        Krispenz wrote:<br>
      </div>
      <blockquote cite="mid:5633310C.6050109@redhat.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <br>
        <div class="moz-cite-prefix">On 10/29/2015 01:28 PM, thierry
          bordaz wrote:<br>
        </div>
        <blockquote cite="mid:563210E0.4060607@redhat.com" type="cite">
          <meta content="text/html; charset=windows-1252"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix">On 10/23/2015 10:44 AM, Ludwig
            Krispenz wrote:<br>
          </div>
          <blockquote cite="mid:5629F352.9050005@redhat.com" type="cite">Hi,


            <br>
            the attached two patches address issues I found when testing
            ca management in the topology plugin <br>
            <br>
            Thanks for review, <br>
            Ludwig <br>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
          </blockquote>
          <font face="Times New Roman, Times, serif">Hi Ludwig,<br>
            <br>
            Patch 20 is good to me. I have one remark, you call
            ipa_topo_cfg_host_find with lock flag. So that the replica
            config is not updated during the test.<br>
            Now the lock protects each call separately. The risk is very
            low that the target host could become unmanaged by the time
            we test the source host.<br>
          </font></blockquote>
        <font face="Times New Roman, Times, serif">yes, and if two
          paralle operations do related things like adding an agreement
          and making a host</font> managed/unmanaged there is a race for
        the lock. The lock itself cannot prevent these things, it only
        can protect the data structures from being read while modified.<br>
        Also with two separate locked calls the second call has a chance
        to be aware of parallel changes<br>
        <blockquote cite="mid:563210E0.4060607@redhat.com" type="cite"><font
            face="Times New Roman, Times, serif"> ACK.<br>
            <br>
            Patch 21 is also good. Just </font><font face="Times New
            Roman, Times, serif">in ipa_topo_util_init_hosts, why not
            calling ipa_topo_cfg_host_add to not duplicate the source ?</font><br>
        </blockquote>
        no reason, revised patch is attached, thanks for noticing<br>
      </blockquote>
      <br>
      Thanks Ludwig for the changes.<br>
      <br>
      ACK<br>
    </blockquote>
    <br>
    Pushed to master: 3f70c9aed7d1357ac5031b8f8b48af320acba567<br>
    <blockquote cite="mid:56333383.2060604@redhat.com" type="cite"> <br>
      <blockquote cite="mid:5633310C.6050109@redhat.com" type="cite">
        <blockquote cite="mid:563210E0.4060607@redhat.com" type="cite">
          <br>
          <font face="Times New Roman, Times, serif">thanks<br>
            thierry<br>
          </font> </blockquote>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>