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

QuorumPeer should use Map interface instead of HashMap implementation.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: quorum
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Using HashMap directly to store quorumPeers member variable unnecessarily decides for the user what implementation of Map to use.

        Attachments

        1. 248.patch
          2 kB
          Nitay Joffe

          Activity

            People

            • Assignee:
              nitay Nitay Joffe
              Reporter:
              nitay Nitay Joffe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: