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

Exit when ZooKeeper cannot bind to the leader election port

    XMLWordPrintableJSON

Details

    Description

      In QuorumCnxManager, the listener thread will exit if it cannot bind to the election port after trying 3 times. Which will keep the server running but unable to join a quorum, the process will be dangling there and only rejecting requests. It seems it's better to exit instead of sitting there doing nothing.

      Attachments

        Issue Links

          Activity

            People

              lvfangmin Fangmin Lv
              lvfangmin Fangmin Lv
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m