Bug 765499 (GLUSTER-3767)

Summary: TestCase : "Lookup on files/dirs which doesn't have gfid's when any of the brick in replicate volume is down is not allowed " Fails
Product: [Community] GlusterFS Reporter: Shwetha H Panduranga <shwetha>
Component: replicateAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 3.2.4CC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shwetha H Panduranga 2011-10-31 12:41:55 UTC
Test Case failing on 3.2.5qa4

Setup:-
-------
1) Create a exportdir with directories/files in it on server1
2) Create a exportdir with no data on server2

###########################
brick1: server1:exportdir
brick2: server2:exportdir
###########################

3) Create a replicate volume of replica 2, transport tcp, with brick1, brick2
4) start the volume
5) Bring down brick2
6) mount to volume created from client

Execution:
execute "find . |xargs stat" from mount point

Expected Output:-
LOOKUP of a file fails. Throws an IO Error ( Look up on files/directories which doesn't have gfid's when any of the brick in a replicate volume is down is not allowed)

Output Observed:- 
List's "."

Comment 1 Anand Avati 2011-11-03 06:59:59 UTC
CHANGE: http://review.gluster.com/661 (Change-Id: Ib99f751d9404d9369944475bb0c70ec001857c94) merged in release-3.2 by Vijay Bellur (vijay)

Comment 2 Anand Avati 2011-11-16 06:38:29 UTC
CHANGE: http://review.gluster.com/677 (Change-Id: I422c87f977b5da083f9fcfaf20f0ca9a872da0a4) merged in master by Vijay Bellur (vijay)