Bug 1159195
| Summary: | dist-geo-rep: geo-rep status in one of rebooted node remains at "Stable(paused)" after session is resumed. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Kotresh HR <khiremat> |
| Component: | geo-replication | Assignee: | Kotresh HR <khiremat> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.6.0 | CC: | aavati, avishwan, bugs, csaba, gluster-bugs, nlevinki, rabhat, rhs-bugs, smanjara, ssaha, ssamanta, storage-qa-internal, vbhat |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.6.3beta1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1149982 | Environment: | |
| Last Closed: | 2015-05-18 10:47:02 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: | 1142960, 1149982 | ||
| Bug Blocks: | |||
|
Description
Kotresh HR
2014-10-31 08:07:02 UTC
REVIEW: http://review.gluster.org/9021 (glusterd/geo-rep: Fix race in updating status file) posted (#1) for review on release-3.6 by Kotresh HR (khiremat) COMMIT: http://review.gluster.org/9021 committed in release-3.6 by Venky Shankar (vshankar) ------ commit beedf68266f19ac77b77f2ec5f9533f3e63c159f Author: Kotresh HR <khiremat> Date: Fri Oct 3 17:35:47 2014 +0530 glusterd/geo-rep: Fix race in updating status file When geo-rep is in paused state and a node in a cluster is rebooted, the geo-rep status goes to "faulty (Paused)" and no worker processes are started on that node yet. In this state, when geo-rep is resumed, there is a race in updating status file between glusterd and gsyncd itself as geo-rep is resumed first and then status is updated. glusterd tries to update to previous state and gsyncd tries to update it to "Initializing...(Paused)" on restart as it was paused previously. If gsyncd on restart wins, the state is always paused but the process is not acutally paused. So the solution is glusterd to update the status file and then resume. BUG: 1159195 Change-Id: I4c06f42226db98f5a3c49b90f31ecf6cf2b6d0cb Reviewed-on: http://review.gluster.org/8911 Signed-off-by: Kotresh HR <khiremat> Reviewed-on: http://review.gluster.org/9021 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Venky Shankar <vshankar> Tested-by: Venky Shankar <vshankar> 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.7.0, please open a new bug report. |