Red Hat Bugzilla – Bug 1289859
Symlinks Rename fails in Symlink not exists in Slave
Last modified: 2016-06-16 09:49:41 EDT
Description of problem:
If Symlink creation failed in Slave and then it is renamed in Master. Geo-rep session goes to Faulty while renaming Symlink.
Steps to Reproduce:
1. Create a file in Master(say f1)
2. Create symlink s1 in Master(say s1. ln -s f1 s1) and wait till it syncs to Slave.
3. Wait for some time and add data to f1 and wait till it syncs to slave.(Just to make sure that rename will get recorded in different Changelog file)
4. Delete symlink in Slave
5. Rename symlink in Master
6. Check the status of Geo-replication.
Geo-rep session goes to Faulty
Should not go to Faulty
REVIEW: http://review.gluster.org/12917 (geo-rep: Symlink Rename issue) posted (#2) for review on master by Aravinda VK (firstname.lastname@example.org)
REVIEW: http://review.gluster.org/12917 (geo-rep: Symlink Rename issue) posted (#3) for review on master by Aravinda VK (email@example.com)
COMMIT: http://review.gluster.org/12917 committed in master by Venky Shankar (firstname.lastname@example.org)
Author: Aravinda VK <email@example.com>
Date: Wed Dec 9 13:46:17 2015 +0530
geo-rep: Symlink Rename issue
If ENTRY creation failed for symlink in Slave and symlink
renamed in Master. If Source not exists to Rename in Slave
Geo-rep interprets as Create of Target file. Geo-rep sends blob
of regular file to create symlink instead of sending blob of
With this patch, Geo-rep identifies symlink and sends respective
Signed-off-by: Aravinda VK <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: Kotresh HR <firstname.lastname@example.org>
Reviewed-by: Milind Changire <email@example.com>
Tested-by: Milind Changire <firstname.lastname@example.org>
Tested-by: NetBSD Build System <email@example.com>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.
glusterfs-3.8.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.