Bug 799887 - Duplicate files listed on mount point
Summary: Duplicate files listed on mount point
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: pre-release
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-05 10:58 UTC by Sachidananda Urs
Modified: 2013-12-19 00:07 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:15:42 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sachidananda Urs 2012-03-05 10:58:30 UTC
Description of problem:

Duplicate files on mount.


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

3.3.0qa25

How reproducible:

Always

Steps to Reproduce:

Open a file in emacs (make sure that emacs creates backup files)... i.e the make-backup-files variable is not set to null. (setq make-backup-files nil)

Create a file foo.txt and edit it, emacs creates backup file foo.txt~ and edit foo.txt again in the same buffer and save it... rename happens internally

ls on the mount point shows two copies of foo.txt~
  
Actual results:

For example:
# ls -l 
-rw-r--r--. 1 root root  527 Mar  5  2012 lock.c
---------T. 1 root root    0 Mar  5 01:52 lock.c~
---------T. 1 root root    0 Mar  5 01:52 lock.c~


Expected results:

Single copy of the file.

Comment 1 Amar Tumballi 2012-03-07 08:59:48 UTC
patch available at http://review.gluster.com/2869

will close the bug once it gets into upstream.

Comment 2 Anand Avati 2012-03-07 17:24:09 UTC
CHANGE: http://review.gluster.com/2869 (cluster/distribute: send proper 'dict' in readdirp()) merged in master by Vijay Bellur (vijay)


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