Bug 1222748

Summary: server_readdirp_cbk links inodes that don't have the .glusterfs/gfid link
Product: [Community] GlusterFS Reporter: Ravishankar N <ravishankar>
Component: protocolAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:53:20 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-19 04:24:35 UTC
Description of problem:
posix_lookup triggers a gfid heal only of loc->inode->gfid is not null. But if a readdirp comes on the parent dir before the lookup, the inode is linked and the gfid never heals. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Apply http://review.gluster.org/#/c/10667/ and run `tests/basic/afr/data-self-heal.t`. Tests will fail because heal was not successful due to absence of 
the gfid hardlink


Expected results:
server readdirp must only link inodes  that have a valid gfid link.

Comment 1 Amar Tumballi 2018-08-29 03:53:20 UTC
Lot of time since no activity on this bug. We have either fixed it already or it is mostly not critical anymore!

Please re-open the bug if the issue is burning for you, or you want to take the bug to closure with fixes.