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

Zookeeper refuses request after node expansion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1, 3.5.8
    • 3.5.9, 3.7.0, 3.6.2
    • server
    • None

    Description

      It's easy to reproduce this bug.

      //代码占位符
       
      Step 1. Deploy 3 nodes  A,B,C with configuration A,B,C .
      Step 2. Deploy node ` D` with configuration  `A,B,C,D` , cluster state is ok now.
      Step 3. Restart nodes A,B,C with configuration A,B,C,D, then the leader will be D, cluster hangs, but it can accept `mntr` command, other command like `ls /` will be blocked.
      
      Step 4. Restart nodes D, cluster state is back to normal now.
       
      

       

      We have looked into the code of 3.5.6 version, and we found it may be the issue of  `workerPool` .

      The `CommitProcessor` shutdown and make `workerPool` shutdown, but `workerPool` still exists. It will never work anymore, yet the cluster still thinks it's ok.

       

      I think the bug may still exist in master branch.

      We have tested it in our machines by reset the `workerPool` to null. If it's ok, please assign this issue to me, and then I'll create a PR. 

       

       

       

      Attachments

        1. d.log
          59 kB
          benwang li
        2. screenshot-1.png
          852 kB
          benwang li

        Issue Links

          Activity

            People

              symat Mate Szalay-Beko
              sundyli benwang li
              Votes:
              1 Vote for this issue
              Watchers:
              7 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 - 5.5h
                  5.5h