Description of problem: When a brick is down and we create a file on fuse mount, even after start of brick and heal process, on that brick the config xattr is missing for the file [root@rhs3 ~]# getfattr -d -e hex -m. /brick/dist/A3/file_141 getfattr: Removing leading '/' from absolute path names # file: brick/dist/A3/file_141 trusted.bit-rot.version=0x0200000000000000558a8f3d0007b32e trusted.ec.config=0x0000080c04000200 trusted.ec.dirty=0x00000000000000000000000000000000 trusted.ec.size=0x0000000000400000 trusted.ec.version=0x00000000000002670000000000000000 trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a [root@rhs3 ~]# getfattr -d -e hex -m. /brick/dist/A2/file_141 getfattr: Removing leading '/' from absolute path names # file: brick/dist/A2/file_141 trusted.bit-rot.version=0x0200000000000000558a900b000130ac trusted.ec.config=0x0000080c04000200 trusted.ec.dirty=0x00000000000000000000000000000000 trusted.ec.size=0x0000000000400000 trusted.ec.version=0x00000000000002670000000000000000 trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a [root@rhs3 ~]# getfattr -d -e hex -m. /brick/dist/A1/file_141 getfattr: Removing leading '/' from absolute path names # file: brick/dist/A1/file_141 trusted.bit-rot.version=0x0200000000000000558a934b000403e6 trusted.ec.size=0x0000000000400000 trusted.ec.version=0x00000000000002670000000000000000 trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a Version-Release number of selected component (if applicable): [root@rhs3 ~]# gluster --version glusterfs 3.7.1 built on Jun 23 2015 22:08:58 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. How reproducible: 100% Steps to Reproduce: 1. Bring a brick down 2. Create a file on fuse mount 3. Bring the brick up and run heal process "gluster v heal testvol full" 4 - Check the xattr of the file on all the bricks 5 - On the brick which was down, config xattr is missing, however, on all the other bricks config xattr is present for the file. Actual results: config xattr is missing for the file on bad brick Expected results: After bringing the brick up and after heal process, config xattr should be present for this brick too Additional info:
Tested it on 3.7.1-6. Heal process is setting trusted.ec.config xattr properly. Marking this as fixed.
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. https://rhn.redhat.com/errata/RHSA-2015-1495.html