You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Michael Han (Jira)" <ji...@apache.org> on 2020/10/01 04:24:00 UTC
[jira] [Resolved] (ZOOKEEPER-3841) remove useless codes in the
Leader.java
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Han resolved ZOOKEEPER-3841.
------------------------------------
Fix Version/s: 3.6.3
Resolution: Fixed
Issue resolved by pull request 1394
[https://github.com/apache/zookeeper/pull/1394]
> remove useless codes in the Leader.java
> ---------------------------------------
>
> Key: ZOOKEEPER-3841
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3841
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Reporter: maoling
> Priority: Minor
> Fix For: 3.6.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> - 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:
> {code:java}
> // 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();
> //}
> {code}
> {code:java}
> //turnOffFollowers();
> {code}
> {code:java}
> //LOG.warn("designated leader is: " + designatedLeader);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)