[Bugs] [Bug 1385762] New: Don' t create a directory if one with the same gfid exists
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 17 16:11:26 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1385762
Bug ID: 1385762
Summary: Don't create a directory if one with the same gfid
exists
Product: GlusterFS
Version: mainline
Component: posix
Assignee: bugs at gluster.org
Reporter: nbalacha at redhat.com
CC: bugs at gluster.org
Description of problem:
In case a directory rename fails on a brick, a DHT lookup tries to create a
directory with the new name as part of the heal.This means that there will be
two directories with different names but the same gfid on the brick. This
causes a lot of issues wrt file access as some files will not be visible on the
mount point.
If the code is changed so that the directory is not created if a dir with the
same gfid already exists, there will be different dirs with the same gfid
across bricks but file listing still works and it is easier to recover from the
scenario.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
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