[Bugs] [Bug 1239156] Glusterd crashed while glusterd service was shutting down

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 5 03:41:14 UTC 2018


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

Atin Mukherjee <amukherj at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #7 from Atin Mukherjee <amukherj at redhat.com> ---
Fixed through commit 6b58e84

commit 6b58e8426a36bc544c06a599311999bf89ad04f2
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Wed Oct 3 16:34:54 2018 +0530

    glusterd: ignore RPC events when glusterd is shutting down

    When glusterd receives a SIGTERM while it receives RPC
    connect/disconnect/destroy events, the thread might lead to a crash
    while accessing rcu_read_lock () as the clean up thread might have
    already freed up the resources. This is more observable when glusterd
    comes up with upgrade mode = on during upgrade process.

    The solution is to ignore these events if glusterd is already in the
    middle of cleanup_and_exit ().

    Fixes: bz#1635593
    Change-Id: I12831d31c2f689d4deb038b83b9421bd5cce26d9
    Signed-off-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=VdRosgkYSb&a=cc_unsubscribe


More information about the Bugs mailing list