-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `ErrFileNotFound` was used for for three cases: 1. There is no any WAL files (probably due to no read permission); 2. There is no WAL files matching the snapshot index; 3. The WAL file seqs do not increase continuously. It's not good for debug when users see the `ErrFileNotFound` error, so in this PR, a different error is returned for each case above. Signed-off-by: Benjamin Wang <wachao@vmware.com>
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters