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

avoid reverse lookups in QuorumCnxManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.1, 3.6.0
    • quorum
    • 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 Radhakrishnan
        2. ZOOKEEPER-2171.patch
          25 kB
          Raúl Gutiérrez Segalés

        Issue Links

          Activity

            People

              rgs Raúl Gutiérrez Segalés
              rgs Raúl Gutiérrez Segalés
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: