This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
errors in Journal.prototype.rollback
obscure actual errors.
#154
Labels
When an error occurs in a transaction, Lovefield will attempt to rollback that tranasaction. If an error occurs while it is doing so, only the second error will be reported and the original error will be silenced.
Here is a minimal repro: https://gist.github.com/stratoukos/9ecf84a95b74413f708a56a640e06bb9.
As explained in #153, the above throws a 203 error. While the transaction is being rolled back, a 201 error occurs and the original 203 error is silenced. If you drop a breakpoint at the spot where the 201 error is thrown (
BTreeNode_.prototype.insert
), you can see on the stacktrace that this happens during the rollback because of a previous error.The text was updated successfully, but these errors were encountered: