Bug 1753561

Summary: Custom xattrs are not healed on newly added brick
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: distributeAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: atumball, bugs, moagrawa, nbalacha, tdesala
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1702299 Environment:
Last Closed: 2019-09-27 11:26:47 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: 1702298, 1702299    
Bug Blocks:    

Description Kotresh HR 2019-09-19 09:57:36 UTC
+++ This bug was initially created as a clone of Bug #1702299 +++

+++ This bug was initially created as a clone of Bug #1702298 +++

Description of problem:
Custom xattrs are not healed on newly added brick

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


How reproducible:
Always

Steps to Reproduce:
1.Setup 1x4 volume and mount the volume on /mnt
2.Create some directory mkdir /mnt/tmp{1..10}
3.Setup user.foo on all directories
  setfattr -n user.foo -v "abc" /mnt/tmp{1..10}
4. Added two new bricks
5. Run lookup on mount point
   ls -laR /mnt/    
6. Check xattr should heal for all directories on the backend on 
   newly added bricks
   
Actual results:

xattr are not healed on newly added brick
Expected results:
xattr should heal on newly added brick

Additional info:

Comment 1 Nithya Balachandran 2019-09-24 05:20:44 UTC
Posted : https://review.gluster.org/#/c/glusterfs/+/23447/

Comment 2 Worker Ant 2019-09-27 11:26:47 UTC
REVIEW: https://review.gluster.org/23447 (dht: Custom xattrs are not healed in case of add-brick) merged (#3) on release-6 by hari gowtham