Bug 1345727
| Summary: | Bricks are starting when server quorum not met. | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Samikshan Bairagya <sbairagy> | |
| Component: | glusterd | Assignee: | bugs <bugs> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | amukherj, bsrirama, bugs, sasundar | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.9.0 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1340995 | |||
| : | 1353814 (view as bug list) | Environment: | ||
| Last Closed: | 2017-03-27 18:22:53 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: | 1340995 | |||
| Bug Blocks: | 1353814 | |||
|
Comment 2
Samikshan Bairagya
2016-06-13 06:13:40 UTC
My analysis is incorrect here. Since cluster.server-quorum-ratio is applicable for all the volumes the volume's version will not get incremented and we will not eventually hit the code path of importing the volume. We'd need to find out a way to take a decision whether to start/stop the brick(s) based on when this global option is synced. REVIEW: http://review.gluster.org/14758 (Make sure bricks are not started if server quorum is not met) posted (#1) for review on master by Samikshan Bairagya (samikshan) REVIEW: http://review.gluster.org/14758 (Make sure bricks are not started if server quorum is not met) posted (#2) for review on master by Samikshan Bairagya (samikshan) REVIEW: http://review.gluster.org/14758 (Make sure bricks are not started if server quorum is not met) posted (#3) for review on master by Samikshan Bairagya (samikshan) REVIEW: http://review.gluster.org/14758 (glusterd: Don't start bricks if server quorum is not met) posted (#4) for review on master by Samikshan Bairagya (samikshan) REVIEW: http://review.gluster.org/14758 (glusterd: Don't start bricks if server quorum is not met) posted (#5) for review on master by Samikshan Bairagya (samikshan) REVIEW: http://review.gluster.org/14758 (glusterd: Don't start bricks if server quorum is not met) posted (#6) for review on master by Samikshan Bairagya (samikshan) COMMIT: http://review.gluster.org/14758 committed in master by Jeff Darcy (jdarcy) ------ commit 807b9a135d697f175fc9933f1d23fb67b0cc6c7d Author: Samikshan Bairagya <samikshan> Date: Tue Jun 14 10:52:27 2016 +0530 glusterd: Don't start bricks if server quorum is not met Upon glusterd restart if it is observered that the server quorum isn't met anymore due to changes to the "server-quorum-ratio" global option, the bricks should be stopped if they are running. Also if glusterd has been restarted, and if server quorum is not applicable for a volume, do not restart the bricks corresponding to the volume to make sure that bricks that have been brought down purposely, say for maintenance, are not brought up. This commit moves this check that was previously inside "glusterd_spawn_daemons" to "glusterd_restart_bricks" instead. Change-Id: I0a44a2e7cad0739ed7d56d2d67ab58058716de6b BUG: 1345727 Signed-off-by: Samikshan Bairagya <samikshan> Reviewed-on: http://review.gluster.org/14758 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Jeff Darcy <jdarcy> 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.9.0, please open a new bug report. glusterfs-3.9.0 has been announced on the Gluster mailinglists [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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html [2] https://www.gluster.org/pipermail/gluster-users/ |