[Bugs] [Bug 1418981] Unable to take Statedump for gfapi applications

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 14 01:53:14 UTC 2017


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



--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16601 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 99ce0d43fffa9b2094edcd4917df2ff9ca7afe5d
Author: Poornima G <pgurusid at redhat.com>
Date:   Fri Jan 22 11:44:21 2016 -0500

    glusterd: add a cli command to trigger a statedump on a client

    With this, we will be able to trigger statedumps on remote Gluster
    clients, mainly targetted for applications using libgfapi.

    Design:
    SIGUSR signal is the most comman way of taking a statedump in Gluster.
    But it cannot be used for libgfapi based processes, as the process
    loading the library might have already consumed SIGUSR signal. Hence
    going by the command way.

    One has to issue a Gluster command to initiate a statedump on the
    libgfapi based client. The command takes hostname and PID as an
    argument. All the glusterds in the cluster, check if they are connected
    to the specified hostname, and send an RPC request to all the connected
    clients from that hostname (via the mgmt connection).

    > URL: http://review.gluster.org/16357
    > BUG: 1169302
    > Signed-off-by: Poornima G <pgurusid at redhat.com>
    > [ndevos: minor fixes and split patch in smaller pieces]
    > Reviewed-on-master: https://review.gluster.org/9228
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > Tested-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    > Reviewed-by: Samikshan Bairagya <samikshan at gmail.com>

    BUG: 1418981
    Change-Id: Icbe4d2f026b32a2c7d5535e1bfb2cdaaff042e91
    Signed-off-by: Shyam <srangana at redhat.com>
    Reviewed-on: https://review.gluster.org/16601
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

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