Bug 1283505

Summary: when scrubber is scheduled scrubd moves the files to hot tier
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: tierAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: josferna, nchilaka, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-01 05:56:01 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260783    

Description RamaKasturi 2015-11-19 07:52:03 UTC
Description of problem:
when a scrubber is scheduled on a tiered volume, scrubber moves all the files present in cold tier to hot tier.

scrubd should not move files in cold tier to hot tier.

Version-Release number of selected component (if applicable):
glusterfs-3.7.5-6.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. create a tiered volume
2. Enable bitrot on the volume
3. Fuse mount the volume and schedule scrubber frequency as hourly.


Actual results:
Once scrubber scrub the files in the cold tier all of them are moved to hot tier.

Expected results:
scrubd should not move the files to hot tier.

Additional info:

Comment 2 RamaKasturi 2015-11-19 09:45:11 UTC
sos reports can be found at http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1283507/

Comment 3 Joseph Elwin Fernandes 2015-11-24 12:44:05 UTC
This is fixed upstream
http://review.gluster.org/#/c/12555/
http://review.gluster.org/12568

and also in downstream, 

https://code.engineering.redhat.com/gerrit/61241

should be available in new build.

Comment 4 Joseph Elwin Fernandes 2015-11-24 12:51:36 UTC
new build is made today. So the coming build should have it.

Comment 5 RamaKasturi 2015-11-25 09:41:45 UTC
Verified and works fine with build glusterfs-3.7.5-7.el7rhgs.x86_64.

When scrubd scans the files, files does not get promoted to hot tier.

Comment 8 errata-xmlrpc 2016-03-01 05:56:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html