Bug 811244 - self heal - dirty afr flags after successfull stat: the empty directory one dirty server case
Summary: self heal - dirty afr flags after successfull stat: the empty directory one d...
Keywords:
Status: CLOSED DUPLICATE of bug 762680
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.2.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-10 14:18 UTC by Rodrigo Severo
Modified: 2012-07-24 13:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-24 13:04:01 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rodrigo Severo 2012-04-10 14:18:35 UTC
Description of problem:
An empty directory with dirty flags on one server stats successfully but remain with the dirty flags.

Version-Release number of selected component (if applicable):
3.2.6

How reproducible:
Always

Steps to Reproduce:
1. # getfattr -d -e hex -m . "/brick/inverso-1/thumb/"
getfattr: Removing leading '/' from absolute path names
# file: brick/inverso-1/thumb/
trusted.afr.inverso-client-1=0x000000000000000100000001
trusted.gfid=0x80d9a95bdb994da19949ece63b9c529c
2.# getfattr -d -e hex -m . "/brick/inverso-2/thumb/"
getfattr: Removing leading '/' from absolute path names
# file: brick/inverso-2/thumb/
trusted.gfid=0x80d9a95bdb994da19949ece63b9c529c
3.# stat /mnt/temp/thumb
    File: `/mnt/temp/thumb'
  Size: 4096            Blocks: 8          IO Block: 131072 directory
Device: 16h/22d Inode: 18446744072986443650  Links: 2
Access: (0775/drwxrwxr-x)  Uid: ( 1122/svn-automatico)   Gid: (   81/ UNKNOWN)
Access: 2012-02-13 11:51:26.063726935 -0200
Modify: 2012-02-13 11:51:26.063726935 -0200
Change: 2012-02-24 11:53:23.711935489 -0200
 Birth: -

Actual results:
Dirty afr flags remain dirty:
 getfattr -d -e hex -m . "/brick/inverso-1/thumb/"
getfattr: Removing leading '/' from absolute path names
# file: brick/inverso-1/thumb/
trusted.afr.inverso-client-1=0x000000000000000100000001
trusted.gfid=0x80d9a95bdb994da19949ece63b9c529c

Expected results:
Cleaned afr flags after stat

Additional info:
I wonder if this might be related to the stat-prefetch issue mentioned by Jeff Darcy at https://bugzilla.redhat.com/show_bug.cgi?id=764232#c14

Comment 1 Rodrigo Severo 2012-04-10 14:27:09 UTC
All this has been tested with Gluster 3.2.6
I mentioned 3.2.5 at "Version(s) for the lack of 3.2.6 on the dropbox.

Comment 2 Amar Tumballi 2012-07-11 05:05:55 UTC
Hi Rodrigo, Can you check with latest 3.3.0 release and see if the issue exists?

Comment 3 Pranith Kumar K 2012-07-24 13:04:01 UTC

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


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