Bug 1209113
Summary: | Disperse volume: Invalid index errors in readdirp requests | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Bhaskarakiran <byarlaga> | |
Component: | disperse | Assignee: | Pranith Kumar K <pkarampu> | |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | mainline | CC: | bugs, byarlaga, dlambrig, gluster-bugs, jahernan, mzywusko, ndevos, nsathyan, pkarampu, vagarwal, vbellur | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1214678 (view as bug list) | Environment: | ||
Last Closed: | 2015-05-09 18:04:05 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: | 1186580, 1214678 |
Description
Bhaskarakiran
2015-04-06 08:37:19 UTC
REVIEW: http://review.gluster.org/10165 (cluster/ec: Fix readdir de-itransform) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: http://review.gluster.org/10165 (cluster/ec: Fix readdir de-itransform) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: http://review.gluster.org/10165 (cluster/ec: Fix readdir de-itransform) posted (#3) for review on master by Pranith Kumar Karampuri (pkarampu) COMMIT: http://review.gluster.org/10165 committed in master by Vijay Bellur (vbellur) ------ commit 4797cb1c9dbf3910952f9d28d8272ff83cd25e7b Author: Pranith Kumar K <pkarampu> Date: Wed Apr 8 21:42:49 2015 +0530 cluster/ec: Fix readdir de-itransform Problem: gf_deitransform returns the glbal client-id in the complete graph. So except for the first disperse subvolume under dht, all the other disperse subvolumes will return a client-id greater than ec->nodes, so readdir will always error out in those subvolumes. Fix: Get the client subvolume whose client-id matches the client-id returned by gf_deitransform of offset. Change-Id: I26aa17504352d48d7ff14b390b62f49d7ab2d699 BUG: 1209113 Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/10165 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Xavier Hernandez <xhernandez> Dan needs to send out the fix for the second issue. Pranith REVIEW: http://review.gluster.org/10274 (This fix corrects the subvolume id in the presense of graphs composed out of multiple volumes. Example such graphs are created with the self heal daemon and snap uss. Prior, the number of bricks calculated was computed regardles of the total number of volumes combined within the graph. With this fix, the brick count only includes those owned by particular volume in question.) posted (#1) for review on master by Dan Lambright (dlambrig) Please perform POST -> MODIFIED transitions after all patches needed are merged. Thanks! Forked another bug for this which is assigned to tiering team and hence this moved to modified. Done per discussion with ec team. Not observing this in the recent builds. For now closing the bug. Please feel free to re-open as soon as we observe it again. |