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

bugzilla at redhat.com bugzilla at redhat.com
Thu May 25 15:31:58 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17362 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit a80ec1b99309ca113cd673d2bc0cf20d50822a47
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.

    > 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>
    (cherry picked from commit 8dc63c8824fc1a00c873c16e8a16a14fca7c8cca)

    Change-Id: Ic07c3cdc5644677b0e40ff0fac6fcca834158913
    BUG: 1454612
    Signed-off-by: Gaurav Yadav <gyadav at redhat.com>
    Reviewed-on: https://review.gluster.org/17362
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana 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=uwEoU1FXQd&a=cc_unsubscribe


More information about the Bugs mailing list