diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2019-10-24 12:24:35 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-02-10 07:31:40 +0000 |
commit | f4f24c8c782bf4fa601f7ef14bbf2e2b6583cd90 (patch) | |
tree | 59ee628892fd955c7c0c18b81017dec4b86b6088 /xlators | |
parent | eff98516684b4d488e785e8d1b06f2876849f551 (diff) |
gf-event: Handle unix volfile-servers
Problem:
glfsheal program uses unix-socket-based volfile server.
volfile server will be the path to socket in this case.
gf_event expects this to be hostname in all cases. So getaddrinfo
will fail on the unix-socket path, events won't be sent in this case.
Fix:
In case of unix sockets, default to localhost
fixes: bz#1793085
Change-Id: I60d27608792c29d83fb82beb5fde5ef4754bece8
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions