Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1833 fix windows build
  3. ZOOKEEPER-1852

ServerCnxnFactory instance is not properly cleanedup

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.6, 3.5.0
    • tests
    • None

    Description

      ClientBase#createNewServerInstance() - Say the startup of the server fails, this will not initialize 'serverFactory' and will be null. When the flow comes to teardown/shutdown, it will bypass stopping of this server instance due to the following check. This will affect other test case verifications like, jmx check 'JMXEnv#ensureOnly'.

      ClientBase#shutdownServerInstance

          static void shutdownServerInstance(ServerCnxnFactory factory,
                  String hostPort)
          {
              if (factory != null) {
                 //...shutdown logic
              }
      

      Attachments

        1. ZOOKEEPER-1852.patch
          5 kB
          Rakesh Radhakrishnan
        2. ZOOKEEPER-1852.patch
          4 kB
          Rakesh Radhakrishnan
        3. ZOOKEEPER-1852.patch
          4 kB
          Rakesh Radhakrishnan
        4. ZOOKEEPER-1852-br-3.4.patch
          5 kB
          Rakesh Radhakrishnan
        5. ZOOKEEPER-1852-br-3.4.patch
          4 kB
          Rakesh Radhakrishnan
        6. ZOOKEEPER-1852-br-3.4.patch
          4 kB
          Rakesh Radhakrishnan

        Activity

          People

            rakeshr Rakesh Radhakrishnan
            rakeshr Rakesh Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: