Bug 1335429
Summary: | Self heal shows different information for the same volume from each node | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Pranith Kumar K <pkarampu> |
Component: | replicate | Assignee: | Pranith Kumar K <pkarampu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, kdhananj, nicolas, pcuzner, pkarampu, ravishankar, sabose, smohan |
Target Milestone: | --- | Keywords: | Triaged |
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: | 1334566 | Environment: | |
Last Closed: | 2017-03-27 18:21:34 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: | 1334566, 1335433 | ||
Bug Blocks: |
Description
Pranith Kumar K
2016-05-12 08:39:33 UTC
REVIEW: http://review.gluster.org/14302 (cluster/afr: Handle non-zero source in heal-info decision) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu) Moving this to post as patch was sent. Hi, Just to understand basically : is this bug harmful to our data? COMMIT: http://review.gluster.org/14302 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit 7dc5d73410f0e9f846c593887637001ca43bc4a0 Author: Pranith Kumar K <pkarampu> Date: Thu May 12 13:55:44 2016 +0530 cluster/afr: Handle non-zero source in heal-info decision Problem: Spurious entries are reported in heal info when the mount is on second/third brick of the replica pair because local-child is given preference in selecting source. The code is supposed to suggest the file needs heal if the (source < 0) (failure code path), but instead it is written as if any non-zero value is considered failure. Fix: Treat +ve source as success case BUG: 1335429 Change-Id: I1be7f9defef2ae03be7eec8d7d49bf34adeca82c Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/14302 Reviewed-by: Krutika Dhananjay <kdhananj> Reviewed-by: Anuradha Talur <atalur> Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Ravishankar N <ravishankar> CentOS-regression: Gluster Build System <jenkins.com> (In reply to Nicolas Ecarnot from comment #3) > Hi, > > Just to understand basically : is this bug harmful to our data? Not at all. It is just wrong reporting. 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/ |