<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 04/09/2015 04:39 PM, Eric Mortensen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHRqbZHmLdWafXLh0tfivaac8b9piXvgdhmOMi5_aLtGQ4s=tw@mail.gmail.com"
      type="cite">
      <div dir="ltr">We have a Gluster replicated setup with 2 servers.
        Each server also runs an app server that functions as a client
        of the gluster files. Client access to the appservers are load
        balanced using round robin.&nbsp;
        <div><br>
        </div>
        <div>Sometimes, when a client creates a new file and then
          immediately tries to read it, the read fails because the
          appserver cannot find it. If the client sleeps for about 1
          second between creating the file and reading it, the read
          always succeeds.&nbsp;</div>
        <div><br>
        </div>
        <div>I was under the impression that gluster replication was
          synchrounous, so the appserver would not return back to the
          client until the created file was replicated to the other
          server. But this does not seem to be the case, because
          sleeping a little bit always seems to make the read failures
          go away. Is there any other reason why a file created is not
          immediately available on a second request?&nbsp;</div>
        <div><br>
        </div>
        <div>I am running 3.6.2 and have not configured anything special
          except storage.owner-id and auth.allow.</div>
      </div>
    </blockquote>
    <br>
    If I understand correctly, creates are happening from one mount and
    reads are happening from another mount?<br>
    <br>
    What do you mean by read failing? Does it give any error? or the
    data read is not complete?<br>
    <br>
    Pranith<br>
    <blockquote
cite="mid:CAHRqbZHmLdWafXLh0tfivaac8b9piXvgdhmOMi5_aLtGQ4s=tw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Thanks!</div>
        <div>Eric Mortensen</div>
        <div>Appstax Technologies</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>