diff options
| author | Pranith Kumar K <pkarampu@redhat.com> | 2019-10-24 12:24:35 +0530 |
|---|---|---|
| committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2019-10-30 05:56:22 +0000 |
| commit | b6da637929be0bdcdb00bf38fa4c14a8a09209d3 (patch) | |
| tree | 0d8740f13f44be9378654dd66518871d298a801c /tests/gfid2path/gfid2path_nfs.t | |
| parent | f221ba83e11fced96b5a7b506e692358ed278ca2 (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#1765017
Change-Id: I60d27608792c29d83fb82beb5fde5ef4754bece8
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tests/gfid2path/gfid2path_nfs.t')
0 files changed, 0 insertions, 0 deletions
