WIP: support multiple wals

startIndex