diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2018-10-03 16:34:54 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-10-04 04:03:05 +0000 |
commit | 6b58e8426a36bc544c06a599311999bf89ad04f2 (patch) | |
tree | c8ed6c85fd1864714d4b7294cec2f73b43e1d841 /libglusterfs/src/parse-utils.h | |
parent | 0153fcfcbd0e442824ec9bc19122a253512e98ea (diff) |
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@redhat.com>
Diffstat (limited to 'libglusterfs/src/parse-utils.h')
0 files changed, 0 insertions, 0 deletions