Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1655545

Summary: gfid heal does not happen when there is no source brick
Product: [Community] GlusterFS Reporter: Ravishankar N <ravishankar>
Component: replicateAssignee: Ravishankar N <ravishankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 5CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-5.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1637249 Environment:
Last Closed: 2019-03-27 13:40:34 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:
Bug Depends On: 1637249, 1655561    
Bug Blocks:    

Description Ravishankar N 2018-12-03 12:18:05 UTC
+++ This bug was initially created as a clone of Bug #1637249 +++

Description of problem:

If parent dir is in split-brain or has dirty xattrs set, and the file
has gfid missing on one of the bricks, then name heal won't assign the
gfid.


Additional info:
Problem was found while trying to debug a split-brain issue on
Cynthia Zhou's setup.

--- Additional comment from Worker Ant on 2018-10-08 21:35:29 EDT ---

REVIEW: https://review.gluster.org/21297 (afr: assign gfid during name heal when no 'source' is present.) posted (#2) for review on master by Ravishankar N

--- Additional comment from Worker Ant on 2018-12-03 01:44:54 EST ---

REVIEW: https://review.gluster.org/21297 (afr: assign gfid during name heal when no 'source' is present.) posted (#13) for review on master by Pranith Kumar Karampuri

Comment 1 Worker Ant 2018-12-03 12:20:10 UTC
REVIEW: https://review.gluster.org/21776 (afr: assign gfid during name heal when no 'source' is present.) posted (#1) for review on release-5 by Ravishankar N

Comment 2 Worker Ant 2018-12-12 12:58:28 UTC
REVIEW: https://review.gluster.org/21776 (afr: assign gfid during name heal when no 'source' is present.) posted (#2) for review on release-5 by Shyamsundar Ranganathan

Comment 3 Shyamsundar 2019-03-27 13:40:34 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-5.2, please open a new bug report.

glusterfs-5.2 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] https://lists.gluster.org/pipermail/announce/2018-December/000117.html
[2] https://www.gluster.org/pipermail/gluster-users/