Bug 1220729 - After reseting the scrubber still vol info shows scrubber throttle and frequency information and it missleads
Summary: After reseting the scrubber still vol info shows scrubber throttle and freque...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 09:45 UTC by RajeshReddy
Modified: 2016-07-13 22:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-18 10:44:54 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description RajeshReddy 2015-05-12 09:45:16 UTC
Description of problem:
=============================
After reseting the scrubber still vol info shows scrubber throttle and frequency information and it missleads 

Version-Release number of selected component (if applicable):
======================
glusterfs-server-3.7.0beta1-0.69.git1a32479.el6.x86_64


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


Steps to Reproduce:
=======================
1.Create a volume and enable bitrot 
2.Set throttle to normal using gluster vol bitrot ECVOL3 scrub-throttle normal
3.Reset the scrubber and check the vol info and still it shows scrub-throttle, as part of volume reset scrubber twill be disabled and after scrubber is disabled scrubber throttle and frequency are obsolete so need not to show in the vol info 

Actual results:


Expected results:


Additional info:

Comment 1 Gaurav Kumar Garg 2015-05-18 10:44:00 UTC
Rajesh, this is a expected behaviour. 

reseting a volume means bringing that option value to default value.

there are two way of resetting option for given volume.

first is gluster volume reset <volname> <option name>    it will reset particular option <option name>. 

second is resetting all the option value.  gluster volume reset <volname>
it will reset all unprotected volume option.


so you are resetting scrub option. after resetting scrub option scrub value goes to default value. but scrub-throttle, scrub-frequency value will remain same.


by default for scrubber if bitrot is enable then scrubber is automatically enable without setting it.

Its not a bug.  Its a expected expected behaviour.


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