Bug 1212368 - Data Tiering:Clear tier gfid when detach-tier takes place
Summary: Data Tiering:Clear tier gfid when detach-tier takes place
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Joseph Elwin Fernandes
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1260923
TreeView+ depends on / blocked
 
Reported: 2015-04-16 09:33 UTC by Nag Pavan Chilakam
Modified: 2016-06-20 00:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-09 19:58:46 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nag Pavan Chilakam 2015-04-16 09:33:35 UTC
Description of problem:
======================
When we detach a tier, it would be nice to clear the tier-gfid from the cold tier, as it would now only be a regular volume and not a tier volume

Version-Release number of selected component (if applicable):
============================================================
[root@vertigo ~]# gluster --version
glusterfs 3.7dev built on Apr 13 2015 07:14:27
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.
[root@vertigo ~]# rpm -qa|grep gluster
glusterfs-server-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-rdma-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-regression-tests-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-resource-agents-3.7dev-0.994.gitf522001.el6.noarch
glusterfs-libs-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-fuse-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-geo-replication-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-cli-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-api-devel-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-extra-xlators-3.7dev-0.994.gitf522001.el6.x86_64
glusterfs-debuginfo-3.7dev-0.994.gitf522001.el6.x86_64



How reproducible:
=================
easily


Steps to Reproduce:
==================
1.create a gluster volume of any type
2.attach a tier
3.issue getfattr for all the bricks. It can be seen that hot-tier bricks have one common tier-gfid and cold-bricks have one comman gfid.
4. Now issue a detach-tier and after it passes, re-issue getfattr on bricks of the now non-tiered volume(ie cold bricks), it can be seen that they still have tier-gfid. This is not nice to have as it is not a tier volume anymore.

Actual results:
===============
after detach tier,it can be seen that the regular vol bricks still have tier-gfid. This is not nice to have as it is not a tier volume anymore.



Expected results:
=================
clear the tier-gfid from xattrs of all bricks at end of detach-tier command

Comment 1 Dan Lambright 2015-04-22 01:17:06 UTC
This would be a nice enhancement, but is not something we will support for the first release.

Comment 2 Nag Pavan Chilakam 2015-11-05 12:17:17 UTC
changing it to wont fix as it is a valid issue


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