Bug 1059259

Summary: AFR : Execution of "find . | xargs stat" from mount might not trigger self heal of files
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: spandura
Component: glusterfsAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED WONTFIX QA Contact: Sudhir D <sdharane>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: divya, nlevinki, pkarampu, sharne, spandura, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-09 01:51:06 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:    
Bug Blocks: 1035040    

Description spandura 2014-01-29 14:04:10 UTC
Description of problem:
========================
Earlier when we used to execute "find . | xargs stat" from mount point, this used to trigger self-heal of all files and directories. 

Now, "find . | xargs stat" might not trigger self-heal on all the files and directories and hence can't be used as a method to self-heal all the entries. 

We should always use "gluster volume heal volume_name" for index self-heal or "gluster volume heal volume_name full" for full self-heal. 

Version-Release number of selected component (if applicable):
================================================================
glusterfs 3.4.0.58rhs built on Jan 25 2014 07:04:08

How reproducible:
==================
Often

Steps to Reproduce:
===================
1.Create a distribute-replicate volume ( 2 x 3 )Start the volume. set self-heal-daemon to "off"

2.Create fuse mount. 

3. Create files/dirs. 

4. Bring offline 2 bricks from each sub-volume. 

5.Modify/Create files and dirs.

6. Bring back the offline bricks online.

7. execute "find . | xargs stat" from mount point. 

Actual results:
==================
Doesn't trigger self-heal completely.

Comment 2 Shalaka 2014-02-04 11:53:46 UTC
Please add doc text for this known issue.

Comment 6 Pranith Kumar K 2014-02-09 01:51:06 UTC
Considering there is nothing to be done on this bug closing it as 'Closed wontfix'.