Bug 1218304

Summary: Intermittent failure of basic/afr/data-self-heal.t
Product: [Community] GlusterFS Reporter: Ravishankar N <ravishankar>
Component: testsAssignee: Ravishankar N <ravishankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 12:58:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ravishankar N 2015-05-04 14:36:48 UTC
When both bricks of the 1x2 replica are on the same node, two shd threads do
the full heal on the same file by taking non-blocking locks in shd domain. One thread may acquire lock on one brick while the second thread on another brick.Consequently neither will get the lock and heal will be skipped for the file.

Comment 1 Anand Avati 2015-05-04 14:39:02 UTC
REVIEW: http://review.gluster.org/10530 (tests: Fix failures in basic/afr/data-self-heal.t) posted (#1) for review on master by Ravishankar N (ravishankar)

Comment 2 Anand Avati 2015-05-10 07:18:51 UTC
REVIEW: http://review.gluster.org/10530 (tests: data-self-heal.t-create files from the mount point.) posted (#2) for review on master by Ravishankar N (ravishankar)

Comment 3 Ravishankar N 2015-11-27 09:16:18 UTC
Not sure why BZ did not pick up the fact that the patch was merged. For some reason, the topic for the bug seems to be rfc. Closing the bug.

Comment 4 Niels de Vos 2016-06-16 12:58:24 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user