Skip to content

Commit

Permalink
去掉TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
wenweihu86 committed Feb 4, 2018
1 parent 8412bed commit 7a41b45
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ public long getLastLogTerm() {
return raftLog.getEntryTerm(lastLogIndex);
} else {
// log为空,lastLogIndex == lastSnapshotIndex
// TODO: 是否加锁?如何避免死锁?
return snapshot.getMetaData().getLastIncludedTerm();
}
}
Expand Down

0 comments on commit 7a41b45

Please sign in to comment.