[Bugs] [Bug 1315626] glusterd crashed when probing a node with firewall enabled on only one node

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 21 17:56:49 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13639 committed in release-3.7 by Atin
Mukherjee (amukherj at redhat.com) 
------
commit dc0406c3422c7d3a901b977978b400d77d6dd7ec
Author: Gaurav Kumar Garg <garg.gaurav52 at gmail.com>
Date:   Mon Feb 29 15:48:58 2016 +0530

    glusterd:upon re-peer probe glusterd should not return response to CLI two
times

    This patch is backport of: http://review.gluster.org/#/c/13546/

    If a node N1 and node N2 is part of the cluster and a node N2 try to
reprobe
    node N1 when N1 is disconnected by any means (for eg: either server is down
    or glusterd is not running or there is a network outage, or firewall is
    blocking port number 24007 on which glusterd listen, etc.), then glusterd
    trying to send back two responses to CLI resulting into a double free and
    a glusterd crash.

    With this fix glusterd  will send response to cli only once and prevent
    glusterd crash.

    Note: glusterd was crashing only when user has done first peer probe with
    hostname and re-probe with ip-address or vice-versa.

    Change-Id: I92012b147091cf9129f1fbc17834b3f4d7cb46a0
    BUG: 1315626
    Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>

      >> Change-Id: I92012b147091cf9129f1fbc17834b3f4d7cb46a0
      >> BUG: 1310677
      >> Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
      >> Reviewed-on: http://review.gluster.org/13546
      >> Smoke: Gluster Build System <jenkins at build.gluster.com>
      >> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
      >> CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
      >> Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    (cherry picked from commit f44232e6a18a4b79e680ea0b6322269b84fa6813)

    Change-Id: Ic7a35eb46099ab7456e04b7bae98c24416ec6651
    Reviewed-on: http://review.gluster.org/13639
    Tested-by: Gaurav Kumar Garg <ggarg at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj 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=EsoaRonLR2&a=cc_unsubscribe


More information about the Bugs mailing list