Skip to content

Commit

Permalink
ZOOKEEPER-2678: Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert (Bobby) Evans committed Feb 10, 2017
1 parent a432642 commit 69fbe19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/java/main/org/apache/zookeeper/server/quorum/Learner.java
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,6 @@ else if (qp.getType() == Leader.SNAP) {
break outerLoop;
case Leader.NEWLEADER: // Getting NEWLEADER here instead of in discovery
// means this is Zab 1.0
// Create updatingEpoch file and remove it after current
// epoch is set. QuorumPeer.loadDataBase() uses this file to
// detect the case where the server was terminated after
// taking a snapshot but before setting the current epoch.
LOG.info("Learner received NEWLEADER message");
if (qp.getData()!=null && qp.getData().length > 1) {
try {
Expand Down

0 comments on commit 69fbe19

Please sign in to comment.