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
This would be a nice enhancement, but is not something we will support for the first release.
changing it to wont fix as it is a valid issue