Bug 957274

Summary: remove the quick slave I/O code from the hadoop-glusterfs plugin
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Bradley Childs <bchilds>
Component: rhs-hadoopAssignee: Bradley Childs <bchilds>
Status: CLOSED DUPLICATE QA Contact: hcfs-gluster-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aavati, matt, rhs-bugs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-28 18:35:17 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: 927415, 959778, 959779, 961540    

Description Bradley Childs 2013-04-26 19:44:55 UTC
The hadoop-glusterfs shim has some experimental "quick slave i/o" code.  the code was meant to read directly from the raw local brick if it existed on the system.

this is problematic as there is no guarantee to the consistency of the raw local file.  reading and writing to the file through the supported FUSE I/O path guarantees file consistency across the cluster.

in other words, someone may be still writing to the file and the change is coming over the network.  by going directly to the local file system we bypass any checks or blocking that FUSE would do that would prevent the file from being read until it was fully consistent. 

bug: remove the quick slave I/O code from the shim layer.

Comment 2 Steve Watt 2013-04-28 18:35:17 UTC

*** This bug has been marked as a duplicate of bug 927415 ***