Bug 1467543 - Suggest how to recognize the time when self-heal is triggered by using events
Summary: Suggest how to recognize the time when self-heal is triggered by using events
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: selfheal
Version: mainline
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-04 07:41 UTC by alghost
Modified: 2020-03-12 12:29 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-12 12:29:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
patch file to raise events when heal is triggered (2.16 KB, patch)
2017-07-04 07:41 UTC, alghost
no flags Details | Diff
heal_events.patch (6.79 KB, patch)
2017-07-06 05:50 UTC, alghost
no flags Details | Diff

Description alghost 2017-07-04 07:41:34 UTC
Created attachment 1294101 [details]
patch file to raise events when heal is triggered

Description of problem:

I cannot recognize the time when heal is triggered.

I'm sure that performance is affected by heal.

So administrators have to know whether the volume is being healed or not.

Event is one of the best way how to recognize it, I think.

So I want you to consider adding gf_event(...) into afr xlator like the patch attached


Version-Release number of selected component (if applicable): 
3.9, 3.10 and mainline


How reproducible:
nothing

Steps to Reproduce:
nothing

Actual results:
nothing

Expected results:
nothing

Additional info:
nothing

Comment 1 alghost 2017-07-06 05:50:02 UTC
Created attachment 1294822 [details]
heal_events.patch

Add more events to know how files are healed.

It try to raise the event every 10 seconds at least.

if a file which is being healed is taken for longer than 10 secs, It should wait until the file is healed.

Comment 2 Worker Ant 2017-07-06 07:46:37 UTC
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#1) for review on master by Taehwa Lee (alghost.lee)

Comment 3 Worker Ant 2017-07-07 04:58:33 UTC
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#2) for review on master by Taehwa Lee (alghost.lee)

Comment 4 Worker Ant 2017-07-21 00:59:03 UTC
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#3) for review on master by Taehwa Lee (alghost.lee)

Comment 5 Worker Ant 2017-07-21 01:20:58 UTC
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#4) for review on master by Taehwa Lee (alghost.lee)

Comment 6 Worker Ant 2020-03-12 12:29:03 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/893, and will be tracked there from now on. Visit GitHub issues URL for further details


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