<p dir="ltr"><br>
On Apr 17, 2015 01:17, &quot;Alex Crow&quot; &lt;<a href="mailto:acrow@integrafin.co.uk">acrow@integrafin.co.uk</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 16/04/15 19:46, Nikolai Grigoriev wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I am new to gluster and would appreciate if someone could help me to understand what may be wrong.<br>
&gt;&gt;<br>
&gt;&gt; We have a small filesystem (currently - just one brick) and on the same client node I have two processes. One is writing files to a specific glusterfs share and another one is periodically scanning that directory and loading all the files from there. Files are small, hundreds of bytes at most. There are not too many files written, maybe one in a couple of seconds.<br>
&gt;&gt;<br>
&gt;&gt; Quite often (about 20% of the cases) the &quot;consumer&quot; process fails to open the file written by the &quot;producer&quot;. The producer does create a temporary file first and then renames it to its final name. Both processes are Java apps.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; I&#39;m seeing a lot of this kind of thing reported on the list lately.<br>
&gt;<br>
&gt; It makes me worry that glusterfs may not be production-ready for critical data that requires updates to be visible at the same instant in time across multiple clients. Should not updates be atomic and consistent across all connected clients? Is there a limitation of the present architecture? Or is there something we need to set on the server side to enforce such consistency? The available docs certainly don&#39;t make such things plain.<br>
&gt;<br>
&gt; For our current proposed workload this is not very important but for applications like email storage for IMAP and transactional applications it&#39;s essential.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;</p>
<p dir="ltr">We would require the following information to debug this issue </p>
<p dir="ltr">1. What access protocol are you using to access gluster?  Fuse,  nfs or smb. <br>
2.  Are both producer and consumer processes accessing through same mount point? <br>
3. Logs for gluster mount,  they would be located in /var/log/glusterfs/ with name like mnt-glustermount.log if mount point is <br>
/mnt/glustermount. <br><br></p>
<p dir="ltr">______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>