[Bugs] [Bug 1785094] New: rename dir1 to another existing dir2 cause dir1 glusterfa link file deleted

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 19 06:28:20 UTC 2019


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

            Bug ID: 1785094
           Summary: rename dir1 to another existing dir2 cause dir1
                    glusterfa link file deleted
           Product: GlusterFS
           Version: 7
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: posix
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: zz.sh.cynthia at gmail.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
rename a dir1 to another existing dir2 cause dir1 glusterfs link file in
.glusterfs/xx/xx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx disappear

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

glusterfs7.0
How reproducible:


Steps to Reproduce:
1>      Mkdir dir1 dir2
2>      Touch some files in both dir1 and dir2
3>      Rename dir1 dir2 *  //this will fail with “rename: dir1: rename to dir2
failed: Directory not empty”
4>      Check the glusterfs link file in
.glusterfs/xx/xx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx this file will disappear



Actual results:


Expected results:
glusterfs link file should not disappear.

Additional info:
this issue is permanent in glusterfs7.0, very easy to reproduce.

-- 
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