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

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 1 12:01:41 UTC 2015


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

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



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

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.

--- Additional comment from Anand Avati on 2015-09-01 06:36:36 EDT ---

REVIEW: http://review.gluster.org/12078 (afr: Unset dirty xattr after setting
pending xattr during post-op) posted (#1) for review on master by Ravishankar N
(ravishankar at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1258801
[Bug 1258801] Change order of marking AFR post op
-- 
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