Bug 1209818 - BitRot :- volume info should not show 'features.scrub: resume' if scrub process is resumed
Summary: BitRot :- volume info should not show 'features.scrub: resume' if scrub proce...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades 1218036
TreeView+ depends on / blocked
 
Reported: 2015-04-08 09:30 UTC by Rachana Patel
Modified: 2016-06-16 12:48 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1218036 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:48:36 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2015-04-08 09:30:04 UTC
Description of problem:
=======================
BitRot :- volume info should not show 'features.scrub: resume' if scrub process is resumed


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

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

Steps to Reproduce:
===================
1. enable bitrot on volume and then pause scrubber and verify volume info
2. now resume  scrub process and check volume info

Actual Result:-
===============
[root@rhs-client37 rac2]# gluster volume bitrot rac2 disable
volume bitrot: success
[root@rhs-client37 rac2]# gluster v info rac2
 
Volume Name: rac2
Type: DistriBitRot :- volume info should not show 'features.scrub: resume' if scrub process is resumedbute
Volume ID: 50a4b55e-b38c-4573-8f4c-226d268a840c
Status: StartedBitRot :- volume info should not show 'features.scrub: resume' if scrub process is resumed
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: rhs-client44:/pavanbrick7/r1
Brick2: rhs-client38:/pavanbrick7/r1
Brick3: rhs-client37:/pavanbrick7/r1
Options Reconfigured:
features.scrub-throttle: lazy
features.scrub: resume
features.bitrot: off


Expect Result:-
===============
volume info should not show 'features.scrub: resume' if scrub process is resumed

Comment 1 Anand Avati 2015-04-13 06:09:40 UTC
REVIEW: http://review.gluster.org/10207 (glusterd: volume info should not show "feature.scrub: resume" if scrub resumed) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 2 Anand Avati 2015-04-14 09:04:09 UTC
REVIEW: http://review.gluster.org/10207 (glusterd: volume info should not show "feature.scrub: resume" if scrub resumed) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)

Comment 4 Anand Avati 2015-04-29 07:23:48 UTC
REVIEW: http://review.gluster.org/10207 (glusterd: volume info should not show "feature.scrub: resume" if scrub resumed) posted (#3) for review on master by Gaurav Kumar Garg (ggarg)

Comment 5 Anand Avati 2015-04-30 09:13:41 UTC
COMMIT: http://review.gluster.org/10207 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 6faf89f4179c452be20f02966b9722641938599d
Author: Gaurav Kumar Garg <ggarg>
Date:   Sat Apr 11 17:05:45 2015 +0530

    glusterd: volume info should not show "feature.scrub: resume" if scrub resumed
    
    If bitrot is enable on the volume and if user paused the scrub process and then
    resume the scrub process then command #gluster volume info <VOLNAME> should show
    status of option features.scrub: Active.
    
    If bitrot is enable on the volume and user disable the bitrot on the volume then
    command #gluster volume info <VOLNAME> should show status of option
    features.scrub: Inactive.
    
    If bitrot is enable on the volume and user paused the scrub porcess then command
    gluster volume info <VOLNAME> should show the status of option
    features.scrub: pause.
    
    Change-Id: I55972eef3b8570b7cb05dc28700d4e28dc45a86a
    BUG: 1209818
    Signed-off-by: Gaurav Kumar Garg <ggarg>
    Reviewed-on: http://review.gluster.org/10207
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Venky Shankar <vshankar>
    Reviewed-by: Krishnan Parthasarathi <kparthas>

Comment 6 Anand Avati 2015-05-01 07:50:53 UTC
REVIEW: http://review.gluster.org/10482 (glusterd: volume info should not show "feature.scrub: resume" if scrub resumed) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 7 Nagaprasad Sathyanarayana 2015-10-25 14:54:02 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 8 Nagaprasad Sathyanarayana 2015-10-25 14:55:41 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 9 Niels de Vos 2016-06-16 12:48:36 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.