[Bugs] [Bug 1193929] GlusterFS can be improved

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 28 17:15:33 UTC 2017


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



--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17129 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit 081f9febeec61787ebe81850a081beda17de3047
Author: Prashanth Pai <ppai at redhat.com>
Date:   Thu Apr 27 18:26:02 2017 +0530

    glusterd: Fix removing pmap entry on rpc disconnect

    Problem:
    The following line of code intended to remove pmap entry for the
    connection during disconnects:

        pmap_registry_remove (this, 0, NULL, GF_PMAP_PORT_NONE, xprt);

    However, no pmap entry will have it's type set to GF_PMAP_PORT_NONE
    at any point in time. So a call to pmap_registry_search_by_xprt() in
    pmap_registry_remove() will always fail to find a match.

    Fix:
    Optionally ignore pmap entry's type in pmap_registry_search_by_xprt().

    BUG: 1193929
    Change-Id: I705f101739ab1647ff52a92820d478354407264a
    Signed-off-by: Prashanth Pai <ppai at redhat.com>
    Reviewed-on: https://review.gluster.org/17129
    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: Jeff Darcy <jeff at pl.atyp.us>

-- 
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