Bug 1221100 - Disperse volume: Directory became stale while renaming files in it.
Summary: Disperse volume: Directory became stale while renaming files in it.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ashish Pandey
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades 1224200
TreeView+ depends on / blocked
 
Reported: 2015-05-13 09:41 UTC by Bhaskarakiran
Modified: 2016-11-23 23:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1224200 (view as bug list)
Environment:
Last Closed: 2015-08-04 04:04:06 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
client fuse mount log (5.95 MB, application/zip)
2015-05-13 09:41 UTC, Bhaskarakiran
no flags Details

Description Bhaskarakiran 2015-05-13 09:41:41 UTC
Created attachment 1024978 [details]
client fuse mount log

Description of problem:
======================
Directory has become stale while renaming files in it. Created 2000 files and renamed 1000 of it. Only 164 has succeeded while the remaining failed. Accessing the directory gives input/output error. This is on fuse mount while the same directory can be accessed from NFS mount.

[root@rhs-client29 fuse]# ls -ltrh
ls: cannot access renames: Input/output error
total 128K
???????????   ? ?    ?       ?            ? renames
drwxr-xr-x.   3 root root   24 May 13 11:52 tarball
drwxr-xr-x.   3 root root   15 May 13 14:49 iozone
drwxr-xr-x.   2 root root    6 May 13 14:57 linux
drwxr-xr-x. 132 root root 8.0K May 13 15:01 files
drwxr-xr-x.  56 root root 8.0K May 13 15:02 dirs
[root@rhs-client29 fuse]# 

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

[root@rhs-client29 fuse]# gluster --version
glusterfs 3.7.0beta2 built on May 11 2015 01:27:46
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.
[root@rhs-client29 fuse]# 


How reproducible:
================
100%

Steps to Reproduce:
1. Create a 1x(8+4) disperse volume and fuse mount on the client.
2. Create 2000 files in a directory and rename 1000 in parallel

Actual results:
Input/Output error and stale entries

Expected results:
Renames should succeed

Additional info:
===============
client fuse log will be attached.

Comment 1 Bhaskarakiran 2015-05-18 06:51:21 UTC
This is seen on the latest 3.7.0.2 RHGS build too.


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