Bug 1047493

Summary: AFR : [RFE] Improvements needed in "gluster volume heal info" commands
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: spandura
Component: replicateAssignee: Mohamed Ashiq <mliyazud>
Status: CLOSED EOL QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1CC: pkarampu, ravishankar, rhs-bugs, vbellur
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1261463 (view as bug list) Environment:
Last Closed: 2017-08-24 11:10:28 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: 1261463    

Description spandura 2013-12-31 10:59:58 UTC
Description of problem:
========================
To know whether there are any pending self-heals on the volume we use "gluster volume heal <volume_name> info" command. This will print "Number of Entries" per brick as well as filenames/GFID's of the files to be self-healed. 

Sometimes one might just need to know how many self-heals are pending on the volume rather than knowing each and every files filename/GFID. (If there are millions of files to be self-healed knowing each and every filename would be meaningless). 

At the same time whenever a user need to know what files needs self-heals then we should be able to provide that information as well. One of the case can be self-heal is taking a very long time and user wants to see on what files self-heal is pending. 

Hence, It will be really informative if we can separate this one command "gluster volume heal <volume_name> info" into two different commands for : 

1) command which gives summary of number of pending entries

2) command which details on what files needs self-heal 


Version-Release number of selected component (if applicable):
============================================================
glusterfs 3.4.0.52rhs built on Dec 20 2013 00:45:50

Comment 3 Mike McCune 2016-03-28 23:07:19 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions