Bug 1379370 - Linkto file still exists on subvolumes even after the file is removed from mount point
Summary: Linkto file still exists on subvolumes even after the file is removed from mo...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute
Version: rhgs-3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-26 13:38 UTC by Prasad Desala
Modified: 2016-12-07 16:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-07 16:04:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Prasad Desala 2016-09-26 13:38:28 UTC
Description of problem:
=======================
Identified hashed sub-volumes (DHT specific link file) for the file and brought down those bricks by killing process on those servers. 
From mount point, removed the file and sent a lookup. The file has been removed from cached sub-volumes but Linkto file still exists on hashed subvolumes.
Brought up all the bricks that were killed and lookup was sent and still the Linkto file is still present on hashed subvols.

Version-Release number of selected component (if applicable):
=============================================================
3.8.4-1.el7.x86_64

Steps to reproduce:
===================
1) Create a distributed replica volume and start it.
2) FUSE mount the volume.
3) Create a file, lets say touch file_remove.
4) Rename file_remove such that the renamed file has DHT specific link file on different sub-volume than actual file. Lets say it was renamed to file_remove_rename_1.
5) Identify the hashed sub-volumes (DHT specific link file) and bring down those bricks by killing process on those servers.
6) Remove the file from mountpoint by issuing rm <renamed_filename>.
7) Send a lookup and check for the file on subvolumes, the file is not listed on cached subvolume but will be listed on hashed subvolumes.
8) Bring up all the bricks that were killed.
9) Send a lookup, Linkto file is still being seen on hashed subvolumes.

Actual results:
================
Linkto file still exists on subvolumes even after the file is removed from mount point

Expected results:
==============
Linkto file should not be seen on subvolumes as the file was removed from mountpoint.

Additional info:
===========


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