[Bugs] [Bug 1293414] [GlusterD]: Peer detach happening with a node which is hosting volume bricks

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 11 06:46:53 UTC 2016


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



--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13047 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit c449b7520c6f1ac6ea1bc4119dbbbe9ebb80bf93
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Mon Dec 21 23:13:43 2015 +0530

    glusterd: import/export brickinfo->uuid

    Given a two node cluster with node N1 & N2, if a dummy node N3 is peer
probed, the
    probed node N3  goes for importing volumes from the probing node (N1), but
    it still doesn't have information about the other node (N2) about its
membership
    (since peer update happens post volume updates) and hence fail to update
its
    brick's uuid. Post that even though N2 updates N3 about its membership the
    brick's uuid was never generated. Now as a consequence when N3 initiates a
    detach of N2, it checks whether the node to be detached has any bricks
    configured by its respective uuid which is NULL in this case and hence it
goes
    ahead and removes the peer which ideally it shouldn't have (refer to
    glusterd_friend_contains_vol_bricks () for the logic)

    Fix is to export brick's uuid and import it at the probed node instead of
    resolving it.

    Change-Id: I2d88c72175347550a45ab12aff0ae248e56baa87
    BUG: 1293414
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/13047
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Gaurav Kumar Garg <ggarg at redhat.com>
    Reviewed-by: Avra Sengupta <asengupt 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=jdRXYsMwNV&a=cc_unsubscribe


More information about the Bugs mailing list