Bug 1398313

Summary: [Disperse] After rename both the source file and destination file are present on the mount point
Product: Red Hat Gluster Storage Reporter: Prasad Desala <tdesala>
Component: disperseAssignee: Ashish Pandey <aspandey>
Status: CLOSED DUPLICATE QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, jahernan, rhinduja, rhs-bugs, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-29 10:00:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Prasad Desala 2016-11-24 12:27:18 UTC
Description of problem:
======================
After rename, we are seeing both the source file and destination file when the below steps are performed which is not expected, 

Version-Release number of selected component (if applicable):
3.8.4-5.el7rhgs.x86_64

How reproducible:
=================
Always

Steps to Reproduce:
===================
1) Create a disperse volume and start it.
2) FUSE mount the volume on a client.
3) Create a file say f1.
4) Identify a brick on which the file 'f1' is hashed and bring down that brick by killing it process.
5) Now, rename the file from 'f1' to 'rename_f2'. From mount point we will be seeing the renamed file.
6) Bring back the killed brick and check the mount point.

We will be seeing both the original file and renamed file.  

Actual results:
==============
After rename both the source file and destination file are present on the mount point

Expected results:
================
Only the renamed file should be present.

Comment 3 Atin Mukherjee 2016-11-30 09:05:45 UTC
In today's triaging exercise all stakeholders agreed to take this bug for rhgs-3.2.0. Providing devel_ack.

Comment 8 Ashish Pandey 2018-10-17 09:32:12 UTC
Duplicate to https://bugzilla.redhat.com/show_bug.cgi?id=1359681

Comment 9 Xavi Hernandez 2018-10-29 10:00:56 UTC
The underlying problem of this bug is the same as bug #1596165. Closing this as duplicate.

*** This bug has been marked as a duplicate of bug 1596165 ***