wal: clarify TODO

This commit is contained in:
Xiang Li 2014-09-08 13:57:35 -07:00
parent 36730ca613
commit 0461c517e4

View File

@ -264,7 +264,7 @@ func (w *WAL) SaveState(s *raftpb.State) error {
}
func (w *WAL) Save(st raftpb.State, ents []raftpb.Entry) {
// TODO(xiangli): no addresses fly around
// TODO(xiangli): no more reference operator
w.SaveState(&st)
for i := range ents {
w.SaveEntry(&ents[i])