wal: rename openAtIndex -> open; OpenAtIndexUntilUsing -> openNotInUse

This commit is contained in:
Xiang Li
2014-12-14 19:33:06 -08:00
parent f538cba272
commit 53bf7e4b5e
4 changed files with 13 additions and 11 deletions

View File

@ -67,7 +67,7 @@ func handleBackup(c *cli.Context) {
}
}
w, err := wal.OpenAtIndexUntilUsing(srcWAL, index)
w, err := wal.OpenNotInUse(srcWAL, index)
if err != nil {
log.Fatal(err)
}