Bug 1293963 - [Tier]: can not delete symlinks from client using rm
Summary: [Tier]: can not delete symlinks from client using rm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1293903
Blocks: 1293237 1295360
TreeView+ depends on / blocked
 
Reported: 2015-12-23 18:16 UTC by Mohammed Rafi KC
Modified: 2016-06-16 13:52 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1293903
: 1295360 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:52:16 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Vijay Bellur 2015-12-23 18:19:38 UTC
REVIEW: http://review.gluster.org/13074 (tier/unlink: symlink failed to unlink) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

Comment 2 Vijay Bellur 2015-12-23 18:53:26 UTC
REVIEW: http://review.gluster.org/13074 (tier/unlink: symlink failed to unlink) posted (#2) for review on master by mohammed rafi  kc (rkavunga)

Comment 3 Vijay Bellur 2015-12-24 15:08:34 UTC
REVIEW: http://review.gluster.org/13074 (tier/unlink: symlink failed to unlink) posted (#3) for review on master by mohammed rafi  kc (rkavunga)

Comment 4 Vijay Bellur 2015-12-24 20:47:59 UTC
REVIEW: http://review.gluster.org/13074 (tier/unlink: symlink failed to unlink) posted (#4) for review on master by mohammed rafi  kc (rkavunga)

Comment 5 Vijay Bellur 2015-12-29 23:35:25 UTC
COMMIT: http://review.gluster.org/13074 committed in master by Dan Lambright (dlambrig) 
------
commit 137b11d616c6086b05c32089903a39334999a76e
Author: Mohammed Rafi KC <rkavunga>
Date:   Wed Dec 23 23:37:54 2015 +0530

    tier/unlink: symlink failed to unlink
    
    during unlink of a file, we will get stat just after
    deleting the file, to see if the file is under migration or not.
    
    but this stat call will fail for symlink if the actual file
    was deleted.
    
    So it is better not to send stat request from client if it is
    a symlink as we are not migrating symlink.
    
    Change-Id: Idc033b24fa3522b5261e579889d2195b43419682
    BUG: 1293963
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/13074
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>

Comment 6 Niels de Vos 2016-06-16 13:52:16 UTC
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 [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.