Bug 1793085 - gf_event doesn't work for glfsheal process
Summary: gf_event doesn't work for glfsheal process
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: eventsapi
Version: 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1765017
Blocks: 1758923 1793096
TreeView+ depends on / blocked
 
Reported: 2020-01-20 16:08 UTC by Pranith Kumar K
Modified: 2020-02-25 17:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1765017
: 1793096 (view as bug list)
Environment:
Last Closed: 2020-02-10 07:32:09 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 24044 0 None Merged gf-event: Handle unix volfile-servers 2020-02-10 07:32:07 UTC

Description Pranith Kumar K 2020-01-20 16:08:40 UTC
+++ This bug was initially created as a clone of Bug #1765017 +++

We noticed this issue when gluster volume heal <volname> info fails on one of the bricks because gf_event() is taking ~25 seconds to do getaddrinfo. Here is the relevant stack trace:

    naddrs=naddrs@entry=0x7f8c3cfaa490) at ../sysdeps/posix/getaddrinfo.c:865
#8  0x00007f8c4976f2cd in __GI_getaddrinfo (name=0x7f8c4c6d0af0 "/var/run/glusterd.socket", 
    service=service@entry=0x0, hints=hints@entry=0x7f8c3cfaa640, pai=pai@entry=0x7f8c3cfaa608)
    at ../sysdeps/posix/getaddrinfo.c:2419
#9  0x00007f8c4beb3366 in _gf_event (event=event@entry=EVENT_AFR_SUBVOL_UP, 
    fmt=fmt@entry=0x7f8c2eead638 "subvol=%s") at events.c:69
#10 0x00007f8c2ee94ba4 in __afr_handle_child_up_event (this=this@entry=0x7f8c3000f070, 
    child_xlator=child_xlator@entry=0x7f8c3000a630, idx=idx@entry=1, 
    halo_max_latency_msec=halo_max_latency_msec@entry=0, event=event@entry=0x7f8c3cfaa82c, 
    call_psh=call_psh@entry=0x7f8c3cfaa838, up_child=up_child@entry=0x7f8c3cfaa83c)

In glfsheal gf_event should happen on localhost. This bz tracks this bug.

--- Additional comment from Worker Ant on 2019-10-24 07:36:12 UTC ---

REVIEW: https://review.gluster.org/23606 (gf-event: Handle unix volfile-servers) posted (#1) for review on master by Pranith Kumar Karampuri

--- Additional comment from Worker Ant on 2019-10-30 05:57:23 UTC ---

REVIEW: https://review.gluster.org/23606 (gf-event: Handle unix volfile-servers) merged (#2) on master by Pranith Kumar Karampuri

Comment 1 Worker Ant 2020-01-20 16:23:04 UTC
REVIEW: https://review.gluster.org/24044 (gf-event: Handle unix volfile-servers) posted (#1) for review on release-7 by Pranith Kumar Karampuri

Comment 2 Worker Ant 2020-02-10 07:32:09 UTC
REVIEW: https://review.gluster.org/24044 (gf-event: Handle unix volfile-servers) merged (#2) on release-7 by Rinku Kothiya


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