Bug 1208131 - BitRot :- Tunable (scrub-throttle, scrub-frequency, pause/resume) for scrub functionality don't have any impact on scrubber
Summary: BitRot :- Tunable (scrub-throttle, scrub-frequency, pause/resume) for scrub f...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades 1220068
TreeView+ depends on / blocked
 
Reported: 2015-04-01 13:14 UTC by Rachana Patel
Modified: 2016-06-16 12:46 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1220068 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:46:47 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2015-04-01 13:14:51 UTC
Description of problem:
=======================
Scrub tunable - (scrub-throttle, scrub-frequency, pause/resume) are giving message success on CLI but don't have any impact on scrub functionality


Version-Release number of selected component (if applicable):
=============================================================
0.803.gitf64666f.el6.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and mount volume.
2. enable bitrot
3. create few files.
4. change tunables and check impact
[root@rhs-client37 ~]# gluster volume bitrot rac1 scrub-frequency daily
volume bitrot: success
[root@rhs-client37 ~]# gluster volume bitrot rac1 scrub-throttle frozen
volume bitrot: success

[root@rhs-client37 ~]# gluster volume bitrot rac1 scrub pause
volume bitrot: success


Actual Result:-
===============
able to change tunable and it says success but don't have any impact on scrub process

Comment 2 Anand Avati 2015-04-27 15:45:13 UTC
REVIEW: http://review.gluster.org/10409 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 3 Anand Avati 2015-05-01 18:13:27 UTC
REVIEW: http://review.gluster.org/10409 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)

Comment 4 Anand Avati 2015-05-04 09:55:48 UTC
REVIEW: http://review.gluster.org/10521 (features/bitrot: Scrubber pause/resume) posted (#1) for review on master by Venky Shankar (vshankar)

Comment 5 Anand Avati 2015-05-04 10:02:32 UTC
REVIEW: http://review.gluster.org/10409 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#3) for review on master by Gaurav Kumar Garg (ggarg)

Comment 6 Anand Avati 2015-05-04 13:32:37 UTC
REVIEW: http://review.gluster.org/10409 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#4) for review on master by Gaurav Kumar Garg (ggarg)

Comment 7 Anand Avati 2015-05-06 10:16:58 UTC
REVIEW: http://review.gluster.org/10602 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 8 Anand Avati 2015-05-06 11:42:09 UTC
REVIEW: http://review.gluster.org/10521 (features/bitrot: Scrubber pause/resume) posted (#3) for review on master by Venky Shankar (vshankar)

Comment 9 Anand Avati 2015-05-07 05:11:20 UTC
REVIEW: http://review.gluster.org/10521 (features/bitrot: Scrubber pause/resume) posted (#4) for review on master by Venky Shankar (vshankar)

Comment 10 Anand Avati 2015-05-07 11:07:33 UTC
REVIEW: http://review.gluster.org/10521 (features/bitrot: Scrubber pause/resume) posted (#5) for review on master by Gaurav Kumar Garg (ggarg)

Comment 11 Anand Avati 2015-05-07 11:07:39 UTC
REVIEW: http://review.gluster.org/10602 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)

Comment 12 Anand Avati 2015-05-08 10:36:23 UTC
REVIEW: http://review.gluster.org/10602 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#5) for review on master by Gaurav Kumar Garg (ggarg)

Comment 13 Anand Avati 2015-05-09 12:40:55 UTC
REVIEW: http://review.gluster.org/10602 (features/bitrot: scrubber should crawl based on the scrubber frequency value) posted (#6) for review on master by Gaurav Kumar Garg (ggarg)

Comment 14 Anand Avati 2015-05-10 07:26:24 UTC
COMMIT: http://review.gluster.org/10602 committed in master by Vijay Bellur (vbellur) 
------
commit 7c1415fa591172765ab1e7dc1b049bf162d53788
Author: Gaurav Kumar Garg <ggarg>
Date:   Wed May 6 14:23:34 2015 +0530

    features/bitrot: scrubber should crawl based on the scrubber frequency value
    
    Currently scrubber is crawling all the files continuously. It should
    crawl files based on the scrubber frequency which user have set.
    
    By default scrubber crawling frequency value will be biweekly.
    
    Change-Id: I5762a92c1e700134cfe4283d1f631904adbfe31d
    BUG: 1208131
    Signed-off-by: Gaurav Kumar Garg <ggarg>
    Reviewed-on: http://review.gluster.org/10602
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra Bhat <raghavendra>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 15 Nagaprasad Sathyanarayana 2015-10-25 14:48:29 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 16 Nagaprasad Sathyanarayana 2015-10-25 14:54:48 UTC
Fix for this bug is already made in a GlusterFS release. The cloned BZ has details of the fix and the release. Hence closing this mainline BZ.

Comment 17 Niels de Vos 2016-06-16 12:46:47 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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