+++ 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
REVIEW: https://review.gluster.org/24044 (gf-event: Handle unix volfile-servers) posted (#1) for review on release-7 by Pranith Kumar Karampuri
REVIEW: https://review.gluster.org/24044 (gf-event: Handle unix volfile-servers) merged (#2) on release-7 by Rinku Kothiya