Bug 1463112

Summary: EC version not updating to latest post healing when another brick is down
Product: Red Hat Gluster Storage Reporter: nchilaka <nchilaka>
Component: disperseAssignee: Ashish Pandey <aspandey>
Status: CLOSED ERRATA QA Contact: Upasana <ubansal>
Severity: low Docs Contact:
Priority: medium    
Version: rhgs-3.3CC: amukherj, rhinduja, rhs-bugs, sheggodu, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rebase
Fixed In Version: glusterfs-3.12.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 06:32:21 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:
Bug Depends On:    
Bug Blocks: 1503134    

Description nchilaka 2017-06-20 07:26:13 UTC
Description of problem:
When we bring down another brick before bringing up a brick which requires healing, the ec version is not updating to lates post the healing of brick1

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

How reproducible:

Steps to Reproduce:
1.have a 4+2 ecvol
2.create a dir dir1 and some file say dir1/a{1..10}
3.now bring down b1 and create dir1/b{1..10}
4. now bring down b2 and bring up b1
5. wait for heal to complete,note that heal info will still show as pending as per current ec design it needs all bricks to be up for removing entries
6. check for healing is completed or not from brick background
7. now check the ec version of the sink brick using exattrs

The ec version on sink brick is not updating to latest version

##### SINK BRICK #############
[root@dhcp35-45 ~]# getfattr -d -m . -e hex /rhs/brick10/disperse/dir1
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick10/disperse/dir1

####### SOURCE BRICK ##########
[root@dhcp35-45 ~]# getfattr -d -m . -e hex /rhs/brick11/disperse/dir1
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick11/disperse/dir1

This problem is gone, once i bring back b2 up

Comment 2 Atin Mukherjee 2017-06-21 08:44:45 UTC
As discussed and agreed upon by all the stake holders, deferring this bug from rhgs-3.3.0

Comment 8 errata-xmlrpc 2018-09-04 06:32:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.