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

remove useless codes in the Leader.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0, 3.7.1
    • server
    • None

    Description

      • There are some useless code in the Leader.java which were comment out.
      • Pls recheck all the things in this class to clear up

      e.g:

      // Everything is a go, simply start counting the ticks
                  // WARNING: I couldn't find any wait statement on a synchronized
                  // block that would be notified by this notifyAll() call, so
                  // I commented it out
                  //synchronized (this) {
                  //    notifyAll();
                  //}
      
      //turnOffFollowers();
      
      //LOG.warn("designated leader is: " + designatedLeader);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            maoling Ling Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 20m
                20m