[Bugs] [Bug 1354429] New: [Bitrot] Need a way to set scrub interval to a minute, for ease of testing
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 11 09:56:15 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1354429
Bug ID: 1354429
Summary: [Bitrot] Need a way to set scrub interval to a minute,
for ease of testing
Product: GlusterFS
Version: 3.8.0
Component: bitrot
Keywords: ZStream
Severity: medium
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
CC: bugs at gluster.org, khiremat at redhat.com,
rmekala at redhat.com, sanandpa at redhat.com
Depends On: 1337391, 1351537, 1354425
Docs Contact: bugs at gluster.org
+++ This bug was initially created as a clone of Bug #1354425 +++
+++ This bug was initially created as a clone of Bug #1351537 +++
+++ This bug was initially created as a clone of Bug #1337391 +++
Description of problem:
========================
Currently, the command 'gluster volume bitrot <volname> scrub-frequency' can
set the frequency to hourly/daily/weekly/biweekly/monthly. For testing, we set
the frequency to the minimum possible, i.e., an hour. After corrupting a file,
we are forced to wait out an entire hour (or more) for the scrubber to mark the
file as 'corrupted'. The above mentioned step is one of the common task that is
followed for most test cases.
This leads to unnecessary inconvenience when testing bitrot feature. Needless
to say, automation also takes close to 3 days, just because of the mandatory
requirement of waiting for an hour before doing any validation. I understand
the need to reduce time < hour would never arise in the field, but it would be
good to have such an option provided for testing and regression purposes, in
the upcoming releases.
Version-Release number of selected component (if applicable):
============================================================
Additional info:
================
[root at dhcp35-13 ~]# gluster v bitrot ozone
Usage: volume bitrot <VOLNAME> {enable|disable} |
volume bitrot <volname> scrub-throttle {lazy|normal|aggressive} |
volume bitrot <volname> scrub-frequency {hourly|daily|weekly|biweekly|monthly}
|
volume bitrot <volname> scrub {pause|resume|status}
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1337391
[Bug 1337391] [Bitrot] Need a way to set scrub interval to a minute, for
ease of testing
https://bugzilla.redhat.com/show_bug.cgi?id=1351537
[Bug 1351537] [Bitrot] Need a way to set scrub interval to a minute, for
ease of testing
https://bugzilla.redhat.com/show_bug.cgi?id=1354425
[Bug 1354425] [Bitrot] Need a way to set scrub interval to a minute, for
ease of testing
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.
More information about the Bugs
mailing list