WIP: support multiple wals

errInvalidIndex