[Bugs] [Bug 1366817] AFR returns the node uuid of the same node for every file in the replica

bugzilla at redhat.com bugzilla at redhat.com
Wed May 17 17:49:56 UTC 2017


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



--- Comment #31 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17297 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit bcc34ce05c1be76dae42838d55c15d3af5f80e48
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Fri May 12 09:23:47 2017 +0200

    cluster/ec: return all node uuids from all subvolumes

    EC was retuning the UUID of the brick with smaller value. This had
    the side effect of not evenly balancing the load between bricks on
    rebalance operations.

    This patch modifies the common functions that combine multiple subvolume
    values into a single result to take into account the subvolume order
    and, optionally, other subvolumes that could be damaged.

    This makes easier to add future features where brick order is important.
    It also makes possible to easily identify the originating brick of each
    answer, in case some brick will have an special meaning in the future.

    Change-Id: Iee0a4da710b41224a6dc8e13fa8dcddb36c73a2f
    BUG: 1366817
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: https://review.gluster.org/17297
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=FmZ8Ru39dy&a=cc_unsubscribe


More information about the Bugs mailing list