ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-875

ResponderThread and udpSocket should be move from QuorumPeer to LeaderElection

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: leaderElection
    • Labels:
      None

      Description

      Part of the algorithm implemented in the class LeaderElection is inside QuorumPeer. Is there any reason for that? ResponderThread and udpSocket belong to LeaderElection class and should be moved in LeaderElection.java. That would make the code look cleaner.

        Activity

        Diogo created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Diogo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development