[Bugs] [Bug 1359681] New: [disperse] Data gain while brick is down and rename a file

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 25 09:56:50 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1359681

            Bug ID: 1359681
           Summary: [disperse] Data gain while brick is down and rename a
                    file
           Product: GlusterFS
           Version: mainline
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: bugs at gluster.org



Description of problem:

Data gain is happening while brick is down and rename a file.
Bringing the brick up and shd is healing this file which leads to creation of
the old file on all the bricks. On mount point also we can see the old file
with same original size.


Version-Release number of selected component (if applicable):
[root at apandey glu]# gluster --version
glusterfs 3.9dev built on Jul 25 2016 15:09:43
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.


How reproducible:
100%

Steps to Reproduce:
1. Create a volume (4+2) and mount it.
2. Create a file , file.txt, on mount point.
3. Kill any one brick and rename file.txt to newfile.txt
4. Bring the brick up by force start of volume.
5. List files on mount point. we can see files with old name and new name.  

Actual results:
File with old name exist on mount point along with new name.

Expected results:

Only file with new name should exist on mount point. Also heal should happen
successfully for the killed brick in which new file frgment should be create
and old file should be removed.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list