[Bugs] [Bug 1542382] New: Add quorum checks in post-op

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 6 09:01:23 UTC 2018


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

            Bug ID: 1542382
           Summary: Add quorum checks in post-op
           Product: GlusterFS
           Version: 4.0
         Component: replicate
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org
        Depends On: 1506140
            Blocks: 1384983, 1536346



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

afr relies on pending changelog xattrs to identify source and sinks and the
setting of these xattrs happen in post-op. So if post-op fails, we need to
unwind the write txn with a failure.

--- Additional comment from Worker Ant on 2017-10-25 04:58:01 EDT ---

REVIEW: https://review.gluster.org/18571 (afr: add quorum checks in post-op)
posted (#1) for review on master by Ravishankar N (ravishankar at redhat.com)

--- Additional comment from Worker Ant on 2018-01-19 03:11:15 EST ---

COMMIT: https://review.gluster.org/18571 committed in master by \"Ravishankar
N\" <ravishankar at redhat.com> with a commit message- afr: add quorum checks in
post-op

afr relies on pending changelog xattrs to identify source and sinks and the
setting of these xattrs happen in post-op. So if post-op fails, we need to
unwind the write txn with a failure.

Change-Id: I0f019ac03890108324ee7672883d774918b20be1
BUG: 1506140
Signed-off-by: Ravishankar N <ravishankar at redhat.com>

--- Additional comment from Ravishankar N on 2018-01-28 22:22:10 EST ---

Moving back to POST, need to send a follow-up patch  for the one in comment #2,
to use the actual errnos from  bricks without returning ENOTCONN if post-op
quorum is not met.

--- Additional comment from Worker Ant on 2018-01-29 11:01:21 EST ---

REVIEW: https://review.gluster.org/19366 (afr: simplify post-op quorum checks)
posted (#1) for review on master by Ravishankar N

--- Additional comment from Worker Ant on 2018-01-31 08:59:44 EST ---

COMMIT: https://review.gluster.org/19366 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- afr: capture the correct errno in
post-op quorum check

If the post-op phase of txn did not meet quorm checks, use that errno to
unwind the FOP rather than blindly setting ENOTCONN.

Change-Id: I0cb0c8771ec75a45f9a25ad4cd8601103deddf0c
BUG: 1506140
Signed-off-by: Ravishankar N <ravishankar at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1384983
[Bug 1384983] split-brain observed with arbiter & replica 3 volume.
https://bugzilla.redhat.com/show_bug.cgi?id=1506140
[Bug 1506140] Add quorum checks in post-op
https://bugzilla.redhat.com/show_bug.cgi?id=1536346
[Bug 1536346] Add quorum checks in 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