Bug 1042725 - DHT :- able to create two files having same name at same directory level
Summary: DHT :- able to create two files having same name at same directory level
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
URL:
Whiteboard:
Depends On: 1032034
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 08:38 UTC by Vijaikumar Mallikarjuna
Modified: 2016-05-11 22:47 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1032034
Environment:
Last Closed: 2014-11-11 08:25:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2013-12-13 08:49:46 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2013-12-26 12:29:10 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Anand Avati 2013-12-26 12:59:13 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Anand Avati 2013-12-30 05:58:15 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 5 Anand Avati 2013-12-30 10:28:51 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 6 Anand Avati 2013-12-30 12:13:34 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#6) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 7 Anand Avati 2014-01-16 07:59:31 UTC
REVIEW: http://review.gluster.org/6500 (dht: do not remove linkfile if file exist in cached sub volume) posted (#7) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 8 Anand Avati 2014-02-03 07:10:48 UTC
COMMIT: http://review.gluster.org/6500 committed in master by Anand Avati (avati) 
------
commit 3023a50c1410b4da457e86bed69c320760d37344
Author: Vijaykumar M <vmallika>
Date:   Fri Dec 13 14:18:16 2013 +0530

    dht: do not remove linkfile if file exist in cached sub volume
    
    Currently with rmdir, if a directory contains only the linkfiles
    we remove all the linkfiles and this is causing the problem when the cached
    sub volume is down and end-up with duplicate files showing on the mount point.
    
    Solution: Before removing a linkfile check if the
    files exists in cached subvolume.
    
    Change-Id: Iedffd0d9298ec8bb95d5ce27c341c9ade81f0d3c
    BUG: 1042725
    Signed-off-by: Vijaykumar M <vmallika>
    Reviewed-on: http://review.gluster.org/6500
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 9 Niels de Vos 2014-09-22 12:33:46 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 10 Niels de Vos 2014-11-11 08:25:43 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


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