Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4811

When configuring the IP address of the zk server on the client side to connect to zk, the connection establishment time is high

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.7.0, 3.7.1
    • None
    • None
    • None

    Description

      When configuring the IP address of the zk server on the client side to connect to zk, the connection establishment time is high。Mainly because Obtaining the hostname of the address takes approximately 5 seconds. 3.4.6 has mechanism to safely avoid reverse DNS lookup,but 3.7 don't do that。

      1.What's the reasone?

      2.Can we modify the method StaticHostProvider/resolve() to avoid reverse DNS lookup?

      Attachments

        Activity

          People

            Unassigned Unassigned
            q_zero yangoofy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: