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

check whether zookeeperServer is null or not before being used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Later
    • None
    • None
    • server
    • None
    • Patch

    Description

      If the zookeeperServer object is null, then the client can't make connections with servers because the Leader Voting stage is working. After checking the Object we can avoid null pointer exception and give the IOException and close connections.

      Attachments

        1. NIOServerCnxnFactory.java
          35 kB
          Pengfei Yan
        2. NIOServerCnxnFactory.java
          35 kB
          Pengfei Yan

        Activity

          People

            Unassigned Unassigned
            PatricYan Pengfei Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 4h 20m
                4h 20m