Description of problem: ======================= If Scrubber is already pasued then pause command should give proper error message rather than saying 'success'. Same is expected for resume functionality. Version-Release number of selected component (if applicable): ============================================================= 3.7dev-0.952.gita7f1d08.el6.x86_64 How reproducible: ================= always Steps to Reproduce: =================== 1. create and mount volume. 2. enable bitrot 3. pause scrub process and check volume info. 4. try to pause scrub process. 5. Resume scrub process and check Volume info. 6. try to resume scrub process again Actual Result:- =============== On resuming/pausing it again it says 'volume bitrot: success' Expect Result:- =============== On resuming/pausing it should say it is already paused/resumed
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#3) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#4) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#5) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10576 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#6) for review on master by Gaurav Kumar Garg (ggarg)
REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub pause/resume should give proper error) posted (#7) for review on master by Gaurav Kumar Garg (ggarg)
COMMIT: http://review.gluster.org/10209 committed in master by Kaushal M (kaushal) ------ commit d68a2dbb3a4be89a4a45661310ae3f32542df20f Author: Gaurav Kumar Garg <ggarg> Date: Mon Apr 13 12:34:26 2015 +0530 bitrot/glusterd: Bitrot scrub pause/resume should give proper error bitrot scrubber paused/resume command should give proper error messages if scrubber already pause/resume and user again try to perform same operation on a volume. Change-Id: I01ad69c80f03b177535a4e5f1c95ab7709a804b0 BUG: 1210684 Signed-off-by: Gaurav Kumar Garg <ggarg> Reviewed-on: http://review.gluster.org/10209 Reviewed-by: Atin Mukherjee <amukherj> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Kaushal M <kaushal>
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.
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.
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