Bug 1247882
Summary: | [geo-rep]: killing brick from replica pair makes geo-rep session faulty with Traceback "ChangelogException" | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Kotresh HR <khiremat> |
Component: | geo-replication | Assignee: | Kotresh HR <khiremat> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.0 | CC: | bugs, chrisw, csaba, gluster-bugs, nlevinki, nsathyan, rcyriac, rhinduja |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1239044 | Environment: | |
Last Closed: | 2015-09-09 09:38:41 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: | 1236546, 1239044 | ||
Bug Blocks: | 1236554 |
Description
Kotresh HR
2015-07-29 07:25:41 UTC
REVIEW: http://review.gluster.org/11784 (geo-rep: Fix history failure) posted (#2) for review on release-3.7 by Kotresh HR (khiremat) COMMIT: http://review.gluster.org/11784 committed in release-3.7 by Venky Shankar (vshankar) ------ commit b7118970edab7c3ab9c7039ef340c40326ff6930 Author: Kotresh HR <khiremat> Date: Fri Jul 3 16:32:56 2015 +0530 geo-rep: Fix history failure Both ACTIVE and PASSIVE workers register to changelog at almost same time. When PASSIVE worker becomes ACTIVE, the start and end time would be current stime and register_time repectively for history API. Hence register_time would be less then stime for which history obviously fails. But it will be successful for the next restart as new register_time > stime. Fix is to pass current time as the end time to history call instead of the register_time. Also improvised the logging for ACTIVE/PASSIVE switching. BUG: 1247882 Change-Id: I40c582cc32fe29a6c30340ec81a3b5d30e461e71 Reviewed-on: http://review.gluster.org/11524 Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Aravinda VK <avishwan> Reviewed-by: Venky Shankar <vshankar> Signed-off-by: Kotresh HR <khiremat> Reviewed-on: http://review.gluster.org/11784 Reviewed-by: Milind Changire <mchangir> 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.4, please open a new bug report. glusterfs-3.7.4 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12496 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |