[Bugs] [Bug 1141539] data loss when rebalance + renames are in progress and bricks from replica pairs goes down and comes back

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 15 17:09:55 UTC 2014


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8710 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 245eec73fb26654608b2524317f4a4af5f9ef61c
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Sun Sep 14 16:51:25 2014 +0530

    cluster/afr: Handle EAGAIN properly in inodelk

    Problem:
    When one of the brick is taken down and brough back up in a replica pair,
locks
    on that brick will be allowed. Afr returns inodelk success even when one of
the
    bricks already has the lock taken.

    Fix:
    If any brick returns EAGAIN return failure to parent xlator.

    Change-Id: I5b842d0fc094359cc4231494053d2bfeb606bbbe
    BUG: 1141539
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/8710
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=O2KvIxORdC&a=cc_unsubscribe


More information about the Bugs mailing list