Bug 1260012 - Data Tiering:Regression:New file creates still going to cold tier after attaching tier
Data Tiering:Regression:New file creates still going to cold tier after attac...
Product: GlusterFS
Classification: Community
Component: tiering (Show other bugs)
Unspecified Unspecified
urgent Severity urgent
: ---
: ---
Assigned To: Joseph Elwin Fernandes
Depends On:
Blocks: 1260923
  Show dependency treegraph
Reported: 2015-09-04 03:31 EDT by nchilaka
Modified: 2016-06-19 20:01 EDT (History)
5 users (show)

See Also:
Fixed In Version: glusterfs-3.7.6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-14 02:00:15 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description nchilaka 2015-09-04 03:31:11 EDT
Description of problem:
while doing IOs, I attached a tier, and found that the new file creates are still going to cold tier.
Also, after some time, when the volume was idle, I did a new set of file creates, but still these file creates were still going to cold tier.

The vol was mounted on nfs.

Note: I didnt do any other file ops like read dir, ls,etc

Also see bug#1260003

[root@nag-manual-node1 glusterfs]# gluster --version
glusterfs 3.7.4 built on Sep  2 2015 18:06:07
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.
[root@nag-manual-node1 glusterfs]# rpm -qa|grep gluster

Steps to Reproduce:
1.create a regular volume
2.now mount vol and do IOs and while IOs are going on attach a tier 
3.now after attach tier is complete,do create anohter set of new files
4. still the files are going to cold tier.

note: no options were changed or set after vol create.
Comment 1 Dan Lambright 2015-10-02 09:54:30 EDT
I do not see this happening with current code, and it is something we test on a regular basis with automated tests. Lets discuss this one in scrum.
Comment 2 Dan Lambright 2015-10-02 10:04:49 EDT
On step 2 we are attaching a tier while IO is happening. This functionality does not work yet and may (possibly) explain the observed behavior. 

So I would recommend to leave this open. And revisit this bug once attach tier is working (or we decide not to allow IO while attaching a tier).
Comment 4 nchilaka 2016-01-04 07:12:38 EST
it works now

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