Bug 1239156
Summary: | Glusterd crashed while glusterd service was shutting down | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anand Nekkunti <anekkunt> |
Component: | glusterd | Assignee: | Kaushal <kaushal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | mainline | CC: | amukherj, atumball, bugs, sdharane, smohan |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | GlusterD | ||
Fixed In Version: | glusterfs-6.x | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1238067 | Environment: | |
Last Closed: | 2019-05-11 11:38:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1238067 | ||
Bug Blocks: | 1223636 |
Description
Anand Nekkunti
2015-07-03 19:24:03 UTC
REVIEW: http://review.gluster.org/11532 (glusterd/synctask: destroy all synctask and epoll threads in fini) posted (#1) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/11532 (glusterd/synctask: destroy all synctask and epoll threads in fini) posted (#2) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/11532 (glusterd/synctask: destroy all synctask and epoll threads in fini) posted (#3) for review on master by Anand Nekkunti (anekkunt) This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Fixed through commit 6b58e84 commit 6b58e8426a36bc544c06a599311999bf89ad04f2 Author: Atin Mukherjee <amukherj> 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> |