Bug 795355

Summary: Look up of files/Dirs with no gfid's unable to trigger self-heal if the path to the files/dirs is specified
Product: [Community] GlusterFS Reporter: Shwetha Panduranga <shwetha.h.panduranga>
Component: replicateAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:58:58 UTC Type: ---
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:    
Bug Blocks: 817967    
Attachments:
Description Flags
Client Log File none

Description Shwetha Panduranga 2012-02-20 10:21:08 UTC
Description of problem:
        Lookup of Files/Dirs without gfid's , when path to the files to be
        self-heal is specified should trigger self-heal . 

        Ex:- Execution of ls <files_to_be_selfhealed> on mount point
        will self heal files even if the files doesn't have gfid.

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

How reproducible:
often

Steps to Reproduce:
* Birck1 has data without GFID
* Brick2 doesn't have data
* Create Volume
* Start volume
* execute 'ls -lR <DIRNAME>'

Actual results:
ls: cannot access <DIRNAME>: No data available

Expected results:
Lookup should trigger self-heal and complete the self-heal

Additional info:

Comment 1 Shwetha Panduranga 2012-02-20 10:25:36 UTC
Created attachment 564373 [details]
Client Log File

Comment 2 Anand Avati 2012-04-11 16:55:11 UTC
CHANGE: http://review.gluster.com/3101 (fuse-bridge: generate GFID as gfid-req in fresh lookup) merged in master by Anand Avati (avati)

Comment 3 Anand Avati 2012-04-12 22:23:23 UTC
CHANGE: http://review.gluster.com/3128 (storage/posix: Handle gfid-less lookup) merged in master by Anand Avati (avati)

Comment 4 Anand Avati 2012-04-12 22:26:55 UTC
CHANGE: http://review.gluster.com/3129 (cluster/afr: Perform gfid-less lookup in afr) merged in master by Anand Avati (avati)

Comment 5 Shwetha Panduranga 2012-04-16 08:50:47 UTC
verified on "master" . works fine now.