[Bugs] [Bug 1387990] New: [RFE] Geo-replication Logging Improvements

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 24 07:02:49 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1387990

            Bug ID: 1387990
           Summary: [RFE] Geo-replication Logging Improvements
           Product: GlusterFS
           Version: 3.9
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: bugs at gluster.org
        Depends On: 1359612
            Blocks: 1359613



+++ This bug was initially created as a clone of Bug #1359612 +++

Description of problem:

Many improvements can be made to Geo-replication logs to understand the current
status and other details.

- Session Creation/Recreation - Will help to understand when session was first
created/recreated

- Log the push-pem status(Since hook script runs in background)

- On Start,
    . Monitor Start Message
    . Number of local bricks
    . Worker Start Message with respective Slave node to which it is trying to
connect
    . Agent Start Message

- Worker State Changes
    . Change in connected Slave Node
    . Change in
Status(Initializing/Active/Passive/Faulty/Stopped/Paused/Resumed)
    . Change in Crawl(Hybrid/History/Changelog)

- Checkpoint Set and Completion Time

- Sync time logs:
  If Rsync failure, Summary of errors (CHANGELOG start-end name and error)

- When Config Changed, log CONFIG_NAME OLD_VALUE and NEW_VALUE

- On worker restart,
   Log last worker's and agents uptime (Because monitor knows about it :P)

- Performance metrics: (Optional only if enabled)
    - After each Changelog batch processed
        - Number of Changelogs processed and START and END changelog
        - Number of ENTRY, DATA and META
        - Time took to Parse Changelogs, Entry Operations, Meta and Sync

--- Additional comment from Worker Ant on 2016-10-20 05:42:39 EDT ---

REVIEW: http://review.gluster.org/15684 (geo-rep: Logging improvements) posted
(#1) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-24 03:01:53 EDT ---

COMMIT: http://review.gluster.org/15684 committed in master by Aravinda VK
(avishwan at redhat.com) 
------
commit cdc30ed8eacb6772e0dabb863ef51cef794d60dd
Author: Aravinda VK <avishwan at redhat.com>
Date:   Thu Oct 20 15:05:38 2016 +0530

    geo-rep: Logging improvements

    - Redundant log messages removed.
    - Worker and connected slave node details added in "starting worker" log
    - Added log for Monitor state change
    - Added log for Worker status change(Initializing/Active/Passive/Faulty)
    - Added log for Crawl status Change
    - Added log for config set and reset
    - Added log for checkpoint set, reset and completion

    BUG: 1359612
    Change-Id: Icc7173ff3c93de4b862bdb1a61760db7eaf14271
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/15684
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1359612
[Bug 1359612] [RFE] Geo-replication Logging Improvements
https://bugzilla.redhat.com/show_bug.cgi?id=1359613
[Bug 1359613] [RFE] Geo-replication Logging Improvements
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list