diff options
author | Gaurav Kumar Garg <ggarg@redhat.com> | 2015-04-14 00:48:24 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-04-30 03:07:33 -0700 |
commit | cb8ce71560a496db5392d322b7cc663054a8457a (patch) | |
tree | 499718314df37111a7211059eafc49c4cc341abc /xlators/features/bit-rot/src/bitd | |
parent | a152fa7ad96053093b88a010bff20e48aa5e5b70 (diff) |
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@redhat.com>
Reviewed-on: http://review.gluster.org/10226
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd')
-rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot-scrub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c index ac45e6d9b6c..dd6abcd9f67 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c +++ b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c @@ -203,8 +203,8 @@ bitd_compare_ckum (xlator_t *this, return 0; } - gf_log (this->name, GF_LOG_WARNING, - "Object checksumsum mismatch: %s [GFID: %s | Brick: %s]", + gf_log (this->name, GF_LOG_ALERT, + "Object checksum mismatch: %s [GFID: %s | Brick: %s]", loc->path, uuid_utoa (linked_inode->gfid), child->brick_path); /* Perform bad-file marking */ |