Merge pull request #965 from tendermint/573-handle-corrupt-wal-file

Handle corrupt WAL file
This commit is contained in:
Ethan Buchman
2017-12-15 14:33:16 -05:00
committed by GitHub
7 changed files with 169 additions and 25 deletions

View File

@@ -180,7 +180,7 @@ func (w *byteBufferWAL) Save(m WALMessage) {
func (w *byteBufferWAL) Group() *auto.Group {
panic("not implemented")
}
func (w *byteBufferWAL) SearchForEndHeight(height int64) (gr *auto.GroupReader, found bool, err error) {
func (w *byteBufferWAL) SearchForEndHeight(height int64, options *WALSearchOptions) (gr *auto.GroupReader, found bool, err error) {
return nil, false, nil
}