Bug 1230242
Summary: | `ls' on a directory which has files with mismatching gfid's does not list anything | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.3 | CC: | bugs, gluster-bugs, rabhat, ravishankar, rkavunga, ssampat |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.4beta2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1221481 | Environment: | |
Last Closed: | 2015-11-17 12:15:25 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: | 1218863, 1221481, 1223751 | ||
Bug Blocks: | 1186580, 1216965 |
Description
Ravishankar N
2015-06-10 13:29:57 UTC
COMMIT: http://review.gluster.org/11162 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 83778a592f75ef18ce5e22e14adc9bf118705a17 Author: Ravishankar N <ravishankar> Date: Wed Jun 10 18:34:52 2015 +0530 afr: allow readdir to proceed for directories in split-brain Problem: afr_read_txn() bails out if read_subvol==-1. This meant that for directories that were in entry split-brain, FOPS like readdir, access, stat etc were not allowed. Fix: Except for getxattr, all other FOPS are wound on the first up child of afr. Change-Id: Iacec8fbb1e75c4d2094baa304f62331c81a6f670 BUG: 1230242 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/10776 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Reviewed-by: Anuradha Talur <atalur> (cherry picked from commit 49b428433a03fcf709fdc8c08603b4cf02198e0a) Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/11162 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Bhat <raghavendra> |