[Bugs] [Bug 1224230] New: BitRot :- If scrubber finds bad file then it should log as a 'ALERT' in log not 'Warning'
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 22 11:10:12 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1224230
Bug ID: 1224230
Summary: BitRot :- If scrubber finds bad file then it should
log as a 'ALERT' in log not 'Warning'
Product: Red Hat Gluster Storage
Version: 3.1
Component: glusterfs
Sub Component: bitrot
Severity: low
Assignee: rhs-bugs at redhat.com
Reporter: rmekala at redhat.com
QA Contact: rmekala at redhat.com
CC: bugs at gluster.org, ggarg at redhat.com,
mzywusko at redhat.com, racpatel at redhat.com
+++ This bug was initially created as a clone of Bug #1210687 +++
Description of problem:
=======================
Scrubber log should report 'bad' file detection as Error in log.
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. create file
4. modify file from backend(not from mount)
5. check scrub log
Actual Result:-
===============
[2015-04-09 09:14:41.002867] W [bit-rot-scrub.c:208:bitd_compare_ckum]
0-bit-rot: Object checksumsum mismatch: f9 [GFID:
c2ca6098-ab30-4d9c-9027-df491e07c0f7]
[2015-04-09 09:14:41.002920] I [bit-rot-scrub.c:226:bitd_compare_ckum]
0-bit-rot: Marking f9 [GFID: c2ca6098-ab30-4d9c-9027-df491e07c0f7] as
corrupted..
Expect Result:-
===============
Object Checksum mismatch should come as 'Error' not warning
--- Additional comment from Anand Avati on 2015-04-14 01:21:40 EDT ---
REVIEW: http://review.gluster.org/10226 (bitrot: Scrubber log should report
'bad' file detection as Error in log) posted (#1) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)
--- Additional comment from Anand Avati on 2015-04-23 12:58:39 EDT ---
REVIEW: http://review.gluster.org/10226 (bitrot: Scrubber log should report
'bad' file detection as Error in log) posted (#2) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)
--- Additional comment from Anand Avati on 2015-04-24 03:27:58 EDT ---
REVIEW: http://review.gluster.org/10226 (bitrot: Scrubber log should report
'bad' file detection as ALERT in log) posted (#3) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)
--- Additional comment from Anand Avati on 2015-04-28 09:13:35 EDT ---
REVIEW: http://review.gluster.org/10226 (bitrot: Scrubber log should report
'bad' file detection as ALERT in log) posted (#4) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)
--- Additional comment from Anand Avati on 2015-04-29 02:37:31 EDT ---
REVIEW: http://review.gluster.org/10226 (bitrot: Scrubber log should report
'bad' file detection as ALERT in log) posted (#5) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)
--- Additional comment from Anand Avati on 2015-04-30 06:07:40 EDT ---
COMMIT: http://review.gluster.org/10226 committed in master by Venky Shankar
(vshankar at redhat.com)
------
commit cb8ce71560a496db5392d322b7cc663054a8457a
Author: Gaurav Kumar Garg <ggarg at redhat.com>
Date: Tue Apr 14 00:48:24 2015 +0530
bitrot: Scrubber log should report 'bad' file detection as ALERT in log
If scrubber detect any bad object by mismatching of checksum of scrubber
and signer then log messages shold come as a Alert instead of warning.
Change-Id: I075d80700cbe6182e525a04419a80ab18419ff91
BUG: 1210687
Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
Reviewed-on: http://review.gluster.org/10226
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
--- Additional comment from Gaurav Kumar Garg on 2015-04-30 06:14:59 EDT ---
If scrubber detect any bad object by mismatching of checksum of scrubber
and signer then log messages shold come as a Alert instead of warning.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=HneQqRlqQz&a=cc_unsubscribe
More information about the Bugs
mailing list