Bug 1467543
Summary: | Suggest how to recognize the time when self-heal is triggered by using events | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | alghost <alghost.lee> | ||||||
Component: | selfheal | Assignee: | Pranith Kumar K <pkarampu> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | mainline | CC: | alghost.lee, bugs, ksubrahm, pkarampu, ravishankar, rkavunga | ||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: |
Feature: events, afr
Reason: Cannnot recognize the time when heal is triggered.
Result: events are triggered when heal is raised
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-03-12 12:29:03 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
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.
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#1) for review on master by Taehwa Lee (alghost.lee) REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#2) for review on master by Taehwa Lee (alghost.lee) REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#3) for review on master by Taehwa Lee (alghost.lee) REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#4) for review on master by Taehwa Lee (alghost.lee) 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 |
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