[Bugs] [Bug 1221656] rebalance failing on one of the node

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 4 12:23:10 UTC 2015


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



--- Comment #9 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10788 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 3e8f9c1da61bf70ed635a655e966df574d1e15cd
Author: Nithya Balachandran <nbalacha at redhat.com>
Date:   Thu May 14 19:33:44 2015 +0530

    dht/rebalance : Fixed rebalance failure

    The rebalance process determines the local subvols for the
    node it is running on and only acts on files in those subvols.
    If a dist-rep or dist-disperse volume is created on 2 nodes by
    dividing the bricks equally across the nodes, one process might
    determine it has no local_subvols.

    When trying to update the commit hash, the function attempts to
    lock all local subvols. On the node with no local_subvols the dht
    inode lock operation fails, in turn causing the rebalance to fail.

    In a dist-rep volume with 2 nodes, if brick 0 of each replica
    set is on node1 and brick 1 is on node2, node2 will find that it has
    no local subvols.

    Change-Id: I7d73b5b4bf1c822eae6df2e6f79bd6a1606f4d1c
    BUG:  1221656
    Signed-off-by: Nithya Balachandran <nbalacha at redhat.com>
    Reviewed-on-master: http://review.gluster.org/10786
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
    Reviewed-by: Susant Palai <spalai at redhat.com>
    Reviewed-on: http://review.gluster.org/10788
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Tested-by: Raghavendra G <rgowdapp 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=uhvIojiU0d&a=cc_unsubscribe


More information about the Bugs mailing list