Bug 765006 (GLUSTER-3274)

Summary: Inconsistent Directory Listings
Product: [Community] GlusterFS Reporter: Joe Julian <joe>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 3.1.5CC: gluster-bugs, mohitanchlia, nsathyan
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 Joe Julian 2011-07-28 20:18:07 UTC
Notice the missing "reports" in the first listing. These were done within 1 second of each other.

# ls -l /mnt/gluster/share1
total 920
/* several matching lines redacted */
drwxrwxrwx. 10 root   sys    16384 Jun  2 04:11 public
drwx------.  9    153 sys    16384 Apr  1 14:23 pxdat
drwxrwxrwx.  4 root   sys    16384 Jul 22 16:48 remove_bin
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports2
drwxrwxrwx.  2 root   daemon 16384 Jul 28 11:10 reports3
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports4
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports4
/* several matching lines redacted */

# ls -l /mnt/gluster/share1
total 928
/* several matching lines redacted */
drwxrwxrwx. 10 root   sys    16384 Jun  2 04:11 public
drwx------.  9    153 sys    16384 Apr  1 14:23 pxdat
drwxrwxrwx.  4 root   sys    16384 Jul 22 16:48 remove_bin
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports2
drwxrwxrwx.  2 root   daemon 16384 Jul 28 11:10 reports3
drwxrwxrwx.  2    153 adm    16384 Jul 28 11:10 reports4
/* several matching lines redacted */

Comment 1 shishir gowda 2011-07-29 02:03:58 UTC
Hi Joe,

Can you let us know how you ran into this issue?

error logs related to this would be helpful in investigating the issue.

Comment 2 Joe Julian 2011-07-29 03:10:15 UTC
I noticed that this directory wasn't on a rsync copy made from a client mount. I did that ls twice in a row as soon as I logged into that box. There's nothing in the default loglevel logs. I haven't had time to try to repro with trace logs. I'll try to do that tomorrow.

Comment 3 Joe Julian 2011-08-01 06:21:34 UTC
http://patches.gluster.com/patch/7888/
http://patches.gluster.com/patch/7889/

Solved this problem.

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