Bug 1367815 - [Bitrot - RFE]: Bitrot Events
Summary: [Bitrot - RFE]: Bitrot Events
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
bugs@gluster.org
URL:
Whiteboard: USM-Gluster integration
Depends On: 1361170
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-17 14:29 UTC by Kotresh HR
Modified: 2017-03-08 09:32 UTC (History)
5 users (show)

Fixed In Version: v3.10.0
Doc Type: Enhancement
Doc Text:
Clone Of: 1361170
Environment:
Last Closed: 2017-03-08 09:32:44 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2016-08-17 14:29:31 UTC
+++ This bug was initially created as a clone of Bug #1361170 +++

Description of problem:

This RFE is to track the changes required in the bitrot component to generate the events to be consumed by the eventing framework.

Comment 1 Vijay Bellur 2016-08-17 14:34:58 UTC
REVIEW: http://review.gluster.org/15190 (eventsapi: Bitrot events) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 2 Vijay Bellur 2016-08-18 07:17:48 UTC
REVIEW: http://review.gluster.org/15190 (eventsapi: Bitrot events) posted (#2) for review on master by Kotresh HR (khiremat)

Comment 3 Vijay Bellur 2016-08-18 13:48:01 UTC
REVIEW: http://review.gluster.org/15190 (eventsapi: Bitrot events) posted (#3) for review on master by Kotresh HR (khiremat)

Comment 4 Vijay Bellur 2016-08-19 11:14:47 UTC
COMMIT: http://review.gluster.org/15190 committed in master by Aravinda VK (avishwan) 
------
commit e9573be8fda72092338074687ef71c9b5086b6c8
Author: Kotresh HR <khiremat>
Date:   Wed Aug 17 19:52:29 2016 +0530

    eventsapi: Bitrot events
    
    Following Bitrot Events are added
    
    BITROT_ENABLE/BITROT_DISABLE
    {
        "nodeid": NODEID,
        "ts": TIMESTAMP,
        "event": EVENT_TYPE,
        "message": {
           "name": VOLUME_NAME,
        }
    }
    
    BITROT_SCRUB_THROTTLE/BITROT_SCRUB_FREQ/BITROT_SCRUB
    {
        "nodeid": NODEID,
        "ts": TIMESTAMP,
        "event": EVENT_TYPE,
        "message": {
           "name": VOLUME_NAME,
           "value": OPTION_VALUE
        }
    }
    
    EVENT_BITROT_BAD_FILE
    {
        "nodeid": NODEID,
        "ts": TIMESTAMP,
        "event": EVENT_TYPE,
        "message": {
           "gfid": GFID_OF_FILE,
           "brick": BRICK_ROOT,
           "path":  FILE_PATH_FROM_BRICK_ROOT (if available)
        }
    }
    
    Change-Id: I8c37b0e9db9f4f0f3d05d8f78b5521c7db0e2237
    BUG: 1367815
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/15190
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Atin Mukherjee <amukherj>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Aravinda VK <avishwan>


Note You need to log in before you can comment on or make changes to this bug.