New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug:1785094] rename dir1 to another existing dir2 cause dir1 glusterfa link file deleted #1014
Comments
Time: 20191220T07:52:25 following is the reproduce steps: enclosed is my test patch, with my patch there is no such issue. |
Time: 20191220T07:54:28 firstly sys_rename, only remove glusterfs metadata( glusterfs gfid link file) when sys_rename has been successfully executed. |
Time: 20191223T12:38:35 |
Time: 20191223T12:41:01 |
Time: 20191224T05:37:09 |
Time: 20191224T09:56:25 |
Thank you for your contributions. |
Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it. |
URL: https://bugzilla.redhat.com/1785094
Creator: zz.sh.cynthia at gmail
Time: 20191219T06:28:20
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.
The text was updated successfully, but these errors were encountered: