mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
wal: clarify TODO
This commit is contained in:
parent
36730ca613
commit
0461c517e4
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user