[Bugs] [Bug 1258801] New: Change order of marking AFR post op

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 1 10:23:52 UTC 2015


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

            Bug ID: 1258801
           Summary: Change order of marking AFR post op
           Product: GlusterFS
           Version: mainline
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

In AFR transaction, in the pre-op, the dirty xattr is set. In the post-op, if
the transaction fails on one of the bricks, then on the healthy brick, the
dirty xattr is unset and then the pending xattr (for the brick that went down)
is set in that order. If the brick crashes after unsetting the dirty xattr, we
have lost information about a pending heal. Hence we need to reverse the order,
i.e. set pending xattr first followed by unsetting the dirty.

-- 
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