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

Deadlock while shutting down the Leader server.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.2, 3.6.0
    • Fix Version/s: 3.5.3, 3.6.0
    • Component/s: server
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: