wal: add a doc file

log entries from the given index plus one to the end of the WAL

I mean it is the case before #1045 is merged.