You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (Jira)" <ji...@apache.org> on 2020/01/13 19:04:00 UTC

[jira] [Resolved] (GEODE-7658) Remove hostname resolution methods from TcpSocketCreator

     [ https://issues.apache.org/jira/browse/GEODE-7658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Smith resolved GEODE-7658.
------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Remove hostname resolution methods from TcpSocketCreator
> --------------------------------------------------------
>
>                 Key: GEODE-7658
>                 URL: https://issues.apache.org/jira/browse/GEODE-7658
>             Project: Geode
>          Issue Type: Improvement
>          Components: membership
>            Reporter: Dan Smith
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> TcpSocketCreator has a few methods related to hostname resolution that are not necessary:
> * resolveDns is based on
> whether network partition detection is enabled, which we can access directly in
> membership
> * getHostName uses a static hostname cache that we don't need to use
> for membership in the one place where SocketCreator.getHostName was called
> * getLocalHost has moved to a utility in geode-common, so we don't need to abstract this away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)