<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<tt>Attached the wrong patch by mistake in my previous mail. Sending
the correct one now.</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt>
<p><tt>-Ravi</tt></p>
<p><tt><br>
</tt></p>
<div class="moz-cite-prefix">On 15/04/20 2:05 pm, Ravishankar N
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:69343cb9-1d6b-a88f-c921-1ed90c407372@redhat.com">
<br>
On 10/04/20 2:06 am, Erik Jacobson wrote:
<br>
<blockquote type="cite">Once again thanks for sticking with us.
Here is a reply from Scott
<br>
Titus. If you have something for us to try, we'd love it. The
code had
<br>
your patch applied when gdb was run:
<br>
<br>
<br>
Here is the addr2line output for those addresses. Very
interesting command, of
<br>
which I was not aware.
<br>
<br>
[root@leader3 ~]# addr2line -f
-e/usr/lib64/glusterfs/7.2/xlator/cluster/
<br>
afr.so 0x6f735
<br>
afr_lookup_metadata_heal_check
<br>
afr-common.c:2803
<br>
[root@leader3 ~]# addr2line -f
-e/usr/lib64/glusterfs/7.2/xlator/cluster/
<br>
afr.so 0x6f0b9
<br>
afr_lookup_done
<br>
afr-common.c:2455
<br>
[root@leader3 ~]# addr2line -f
-e/usr/lib64/glusterfs/7.2/xlator/cluster/
<br>
afr.so 0x5c701
<br>
afr_inode_event_gen_reset
<br>
afr-common.c:755
<br>
<br>
</blockquote>
Right, so afr_lookup_done() is resetting the event gen to zero.
This looks like a race between lookup and inode refresh code
paths. We made some changes to the event generation logic in AFR.
Can you apply the attached patch and see if it fixes the
split-brain issue? It should apply cleanly on glusterfs-7.4.
<br>
<br>
Thanks,
<br>
Ravi
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a class="moz-txt-link-freetext" href="https://bluejeans.com/441850968">https://bluejeans.com/441850968</a>
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="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
</body>
</html>