[Bugs] [Bug 1621981] New: dht: File rename removes the .glusterfs handle for linkto file

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 24 05:40:39 UTC 2018


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

            Bug ID: 1621981
           Summary: dht: File rename removes the .glusterfs handle for
                    linkto file
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org



Description of problem:

dht_rename_cbk sends a linkfile create in parallel with the unlinks to clean up
the original src linkto files. If these fops reach the brick out of order, we
end up a linkto file without a gfid handle


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


How reproducible:
Often

Steps to Reproduce:
1. Run glusterfs/tests/bugs/posix/bug-1619720.t over and over again and check
the file listing on both bricks.


Actual results:

/bricks/brick1/backends/patchy0/tmp/:
total 0
---------T. 1 root root 0 Aug 23 20:04 file-3  <-- Only one link

/bricks/brick1/backends/patchy1/tmp/:
total 0
-rw-r--r--. 2 root root 0 Aug 23 20:04 file-3

Expected results:

/bricks/brick1/backends/patchy0/tmp/:
total 0
---------T. 2 root root 0 Aug 23 20:04 file-3

/bricks/brick1/backends/patchy1/tmp/:
total 0
-rw-r--r--. 2 root root 0 Aug 23 20:04 file-3

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