[Bugs] [Bug 1598720] New: afr: fix bug-1363721.t failure

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 6 10:04:18 UTC 2018


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

            Bug ID: 1598720
           Summary: afr: fix bug-1363721.t failure
           Product: GlusterFS
           Version: 3.12
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



afr: fix bug-1363721.t failure

    Backport of https://review.gluster.org/#/c/20036/

    Problem:
    In the .t, when the only good brick was brought down, writes on the fd were
    still succeeding on the bad bricks. The inflight split-brain check was
    marking the write as failure but since the write succeeded on all the
    bad bricks, afr_txn_nothing_failed() was set to true and we were
    unwinding writev with success to DHT and then catching the failure in
    post-op in the background.

    Fix:
    Don't wind the FOP phase if the write_subvol (which is populated with
readable
    subvols obtained in pre-op cbk) does not have at least 1 good brick which
was up
    when the transaction started.

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

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