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

avoid reverse lookups in QuorumCnxManager

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.1, 3.6.0
    • Component/s: quorum
    • Labels:
      None

      Description

      Apparently, ZOOKEEPER-107 (via a quick git-blame look) introduced a bunch of getHostName() calls in QCM. Besides the overhead, these can cause problems when mixed with failing/mis-configured DNS servers.

      It would be nice to reduce them, if that doesn't affect operational correctness.

        Attachments

        1. ZOOKEEPER-2171.patch
          22 kB
          Rakesh R
        2. ZOOKEEPER-2171.patch
          25 kB
          Raul Gutierrez Segales

          Issue Links

            Activity

              People

              • Assignee:
                rgs Raul Gutierrez Segales
                Reporter:
                rgs Raul Gutierrez Segales
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: