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

Deadlock while shutting down the Leader server.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.2, 3.6.0
    • 3.5.3, 3.6.0
    • server
    • None

    Description

      Leader server enters into deadlock while shutting down. This happens some time only.
      The reason and deadlock flow is same as ZOOKEEPER-2380.
      shutdown was removed from synchronized block in ZOOKEEPER-2380
      Now shutdown is called from synchronized block from another place.

      // check leader running status
      if (!this.isRunning()) {
          shutdown("Unexpected internal error");
          return;
      }
      

      Attachments

        1. ZOOKEEPER-2687-01.patch
          0.7 kB
          Mohammad Arshad

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: