Bug 1369211
| Summary: | fix bug in protocol/client lookup callback | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Anuradha <atalur> |
| Component: | protocol | Assignee: | Anuradha <atalur> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.14 | CC: | bugs, smohan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.15 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1366284 | Environment: | |
| Last Closed: | 2016-09-01 09:22:29 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: | 1366284 | ||
| Bug Blocks: | 1369187 | ||
|
Description
Anuradha
2016-08-22 16:35:08 UTC
REVIEW: http://review.gluster.org/15259 (protocol/client: Unserialize xdata even if lookup fails) posted (#1) for review on release-3.7 by Anuradha Talur (atalur) REVIEW: http://review.gluster.org/15259 (protocol/client: Unserialize xdata even if lookup fails) posted (#2) for review on release-3.7 by Anuradha Talur (atalur) REVIEW: http://review.gluster.org/15259 (protocol/client: Unserialize xdata even if lookup fails) posted (#3) for review on release-3.7 by Anuradha Talur (atalur) COMMIT: http://review.gluster.org/15259 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) ------ commit a97ccc632fc425156e24b7c71de97248de62b2de Author: Anuradha Talur <atalur> Date: Mon Aug 22 22:25:40 2016 +0530 protocol/client: Unserialize xdata even if lookup fails Problem: AFR relies on xdata returned by lookup to determine if there are any files that need healing. This info is further used to optimize readdirp. In case of lookups with negative return value, client xlator was sending NULL xdata. Due to absence of xdata, AFR conservatively assumes that there are files that need healing, which is incorrect. Solution: Even in case of unsuccessful lookups, send the xdata received by protocol client so that higher xlators can get the info that they rely on. >Change-Id: Id3a1023eb536180888eb2c0b39050000b76f7226 >BUG: 1366284 >Signed-off-by: Anuradha Talur <atalur> >Reviewed-on: http://review.gluster.org/15120 >Smoke: Gluster Build System <jenkins.org> >Reviewed-by: Poornima G <pgurusid> >Tested-by: Poornima G <pgurusid> >CentOS-regression: Gluster Build System <jenkins.org> >NetBSD-regression: NetBSD Build System <jenkins.org> >Reviewed-by: Ashish Pandey <aspandey> >Reviewed-by: Pranith Kumar Karampuri <pkarampu> >Signed-off-by: Anuradha Talur <atalur> Change-Id: Ia22bcb200d599b78677e429d25877c78f7d27612 BUG: 1369211 Signed-off-by: Anuradha Talur <atalur> Reviewed-on: http://review.gluster.org/15259 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Pranith Kumar Karampuri <pkarampu> NetBSD-regression: NetBSD Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Krutika Dhananjay <kdhananj> CentOS-regression: Gluster Build System <jenkins.org> 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.15, please open a new bug report. glusterfs-3.7.15 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] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html [2] https://www.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.7.15, please open a new bug report. glusterfs-3.7.15 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] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html [2] https://www.gluster.org/pipermail/gluster-users/ |