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

bugzilla at redhat.com bugzilla at redhat.com
Tue May 30 13:13:31 UTC 2017


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



--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17337 committed in release-3.10 by
Raghavendra Talur (rtalur at redhat.com) 
------
commit 29ce31a5080a63690cbaf5dc917bfa9fcb19e8aa
Author: karthik-us <ksubrahm at redhat.com>
Date:   Wed Apr 19 18:04:46 2017 +0530

    cluster/afr: Return the list of node_uuids for the subvolume

    Problem:
    AFR was returning the node uuid of the first node for every file if
    the replica set was healthy, which was resulting in only one node
    migrating all the files.

    Fix:
    With this patch AFR returns the list of node_uuids to the upper layer,
    so that they can decide on which node to migrate which files, resulting
    in improved performance. Ordering of node uuids will be maintained based
    on the ordering of the bricks. If a brick is down, then the node uuid
    for that will be set to all zeros.

    > Reviewed-on: https://review.gluster.org/17084
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    > Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    > 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>
    (cherry picked from commit 0a50167c0a8f950f5a1c76442b6c9abea466200d)

    Change-Id: I73ee0f9898ae473584fdf487a2980d7a6db22f31
    BUG: 1451561
    Signed-off-by: karthik-us <ksubrahm at redhat.com>
    Reviewed-on: https://review.gluster.org/17337
    Tested-by: Ravishankar N <ravishankar at redhat.com>
    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: Raghavendra Talur <rtalur 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