Bug 1334285
Summary: | Under high read load, sometimes the message "XDR decoding failed" appears in the logs and read fails | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Xavi Hernandez <jahernan> | |
Component: | rpc | Assignee: | Xavi Hernandez <jahernan> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs, florian.philippon, rgowdapp | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.9.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1331502 | |||
: | 1334287 1334985 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-23 07:17:38 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: | ||||
Bug Blocks: | 1331502, 1334287, 1334985 |
Description
Xavi Hernandez
2016-05-09 10:40:48 UTC
REVIEW: http://review.gluster.org/14270 (socket: Fix incorrect handling of partial reads) posted (#1) for review on master by Xavier Hernandez (xhernandez) COMMIT: http://review.gluster.org/14270 committed in master by Raghavendra G (rgowdapp) ------ commit 3286e31509f20fa6e36d5b393a12eaf7ef3a226e Author: Xavier Hernandez <xhernandez> Date: Mon May 9 12:50:39 2016 +0200 socket: Fix incorrect handling of partial reads The usage of function local variables in the protocol state machine caused an incorrect behaviour when a partial read from the socket forced the function to return and restart later when more data was available. At this point the local variables contained incorrect data. Change-Id: I4db1f4ef5c46a3d2d7f7c5328e906188c3af49e6 BUG: 1334285 Signed-off-by: Xavier Hernandez <xhernandez> Reviewed-on: http://review.gluster.org/14270 Reviewed-by: Raghavendra G <rgowdapp> Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> Tested-by: Raghavendra G <rgowdapp> CentOS-regression: Gluster Build System <jenkins.com> |