etcd-team/etcd — pull request #24 by xiangli-cmu (2014-08-05 03:58:54+00:00)
Title: wal: add marshaler interface

1. Add a Marshaler Interface into raft package
```go
type Marshaler interface {
Marshal() ([]byte, error)
MarshalType() int64
}
```

2. Use Marshaler in wal pkg. simplify things a lot.

3. WARNING: remove head checking when writing node.Info.