Bug 924726
Summary: | A series of graph switches when there is no activity on mountpoint can result in socket leaks | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Raghavendra G <rgowdapp> |
Component: | fuse | Assignee: | Raghavendra G <rgowdapp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | mainline | CC: | bugs, gluster-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-11 08:23:37 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: |
Description
Raghavendra G
2013-03-22 11:34:35 UTC
REVIEW: http://review.gluster.org/4713 (mount/fuse: cleanup old graphs.) posted (#3) for review on master by Raghavendra G (raghavendra) REVIEW: http://review.gluster.org/4713 (mount/fuse: cleanup old graphs.) posted (#5) for review on master by Raghavendra G (rgowdapp) REVIEW: http://review.gluster.org/4713 (mount/fuse: cleanup old graphs.) posted (#6) for review on master by Raghavendra G (rgowdapp) REVIEW: http://review.gluster.org/4713 (mount/fuse: cleanup old graphs.) posted (#7) for review on master by Raghavendra G (rgowdapp) COMMIT: http://review.gluster.org/4713 committed in master by Anand Avati (avati) ------ commit c492b2cf8a18f09975da24e60330d0454cbd1e4e Author: Raghavendra G <rgowdapp> Date: Mon Dec 9 16:10:56 2013 +0530 mount/fuse: cleanup old graphs. After a graph switch, a PARENT_DOWN event from fuse indicates protocol/client to shutdown all its sockets. However, this event will be sent only when the first fop is received from fuse mount after graph switch. Also, this event is sent only on previously active graph. So, if there are multiple graph switches when there is no activity on mountpoint, we'll be left with a list of graphs with their sockets still open. This patch fixes the issue by sending PARENT_DOWN to previously non-active graph when a new graph is available irrespective of whether there is an activity on mount-point. Change-Id: I9e676658d797c0b2dd3ed5ca5a56271bd94b4bb6 BUG: 924726 Signed-off-by: Raghavendra G <rgowdapp> Reviewed-on: http://review.gluster.org/4713 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati> REVIEW: http://review.gluster.org/6813 (mount/fuse: cleanup old graphs.) posted (#1) for review on release-3.5 by Raghavendra G (rgowdapp) REVIEW: http://review.gluster.org/6813 (mount/fuse: cleanup old graphs.) posted (#2) for review on release-3.5 by Raghavendra G (rgowdapp) COMMIT: http://review.gluster.org/6813 committed in release-3.5 by Vijay Bellur (vbellur) ------ commit c7ba4f37b048399481e14167a9a649f13a365cf0 Author: Raghavendra G <rgowdapp> Date: Mon Dec 9 16:10:56 2013 +0530 mount/fuse: cleanup old graphs. After a graph switch, a PARENT_DOWN event from fuse indicates protocol/client to shutdown all its sockets. However, this event will be sent only when the first fop is received from fuse mount after graph switch. Also, this event is sent only on previously active graph. So, if there are multiple graph switches when there is no activity on mountpoint, we'll be left with a list of graphs with their sockets still open. This patch fixes the issue by sending PARENT_DOWN to previously non-active graph when a new graph is available irrespective of whether there is an activity on mount-point. Change-Id: I9e676658d797c0b2dd3ed5ca5a56271bd94b4bb6 BUG: 924726 Signed-off-by: Raghavendra G <rgowdapp> Reviewed-on: http://review.gluster.org/4713 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/6813 Reviewed-by: Vijay Bellur <vbellur> A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users |