[Bugs] [Bug 1452956] glusterd on a node crashed after running volume profile command

bugzilla at redhat.com bugzilla at redhat.com
Tue May 23 04:40:13 UTC 2017


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



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17350 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 8dc63c8824fc1a00c873c16e8a16a14fca7c8cca
Author: Gaurav Yadav <gyadav at redhat.com>
Date:   Sun May 21 12:31:29 2017 +0530

    glusterd : volume profile command on one of the node crashes glusterd

    When volume profile command is issued on one of the node glusterd
    crashes. Its a race condition which may hit when profile command and
    status command is being executed from node A and node B respectively.
    While doing so event GD_OP_STATE_BRICK_OP_SENT/GD_OP_STATE_BRICK_COMMITTED
    is being triggered. As handling of event is not thread safe, hence context
    got modify and glusterd crashes.

    With the fix now we are validating the context before using it.

    Change-Id: Ic07c3cdc5644677b0e40ff0fac6fcca834158913
    BUG: 1452956
    Signed-off-by: Gaurav Yadav <gyadav at redhat.com>
    Reviewed-on: https://review.gluster.org/17350
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Samikshan Bairagya <samikshan at gmail.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=8fqjSDAKAx&a=cc_unsubscribe


More information about the Bugs mailing list