-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error handling in txfile package (#17)
* Improve error handling in txfile package - Add checks when beginning a transaction if the transaction type requested is compatible to the file open mode. - Update pq to return an error if txfile transaction creation fails - introduce Error type that is compatible to txerr - improve checking and recovering from root cause by introducing error kinds and re-export error kinds - add more context like file-name, transaction id, page id to errors and panics - introduce transaction ID (atomic counter) - create trace of errors annotated with operations that failed
- Loading branch information
Showing
27 changed files
with
819 additions
and
268 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.