[Bugs] [Bug 1473636] New: Launch metadata heal in discover code path.

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 21 10:51:49 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1473636

            Bug ID: 1473636
           Summary: Launch metadata heal in discover code path.
           Product: GlusterFS
           Version: mainline
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:

It was found that when I/O was going on in a  rep 2 volume and an add-brick was
done to convert it to rep-3, mkdir failed on the newly added brick because the
parent dir on that brick did not contain dht layout xattr due to which posix
failed the mkdir (see BZ 1470599 if you have view permissions).

So fuse guarantees that a lookup (named OR gfid lookup) is issued before the
mkdir. In afr, metadata heals (which heal the xattrs including dht xattrs)
happen only as a part of named lookups. Fix it to include gfid lookups as well.

Note that named lookups can do name heals (if entry doesn't exist on the 3rd
brick), gfid lookups can't do that. The most we can do is perform metadata
heals if the entry is already present in the brick.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list