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

remove useless codes in the Leader.java

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1,3.8.0
    • Component/s: server
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              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