Bug 765499 (GLUSTER-3767) - 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
Summary: TestCase : "Lookup on files/dirs which doesn't have gfid's when any of the br...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3767
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.2.4
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-31 12:41 UTC by Shwetha H Panduranga
Modified: 2011-11-16 16:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.