zodbcommit: Don't forget to call tpc_abort on an error
Two-phase commit protocol assumes that after tpc_begin, it will be either successful tpc_vote + tpc_finish, or tpc_abort. We were not calling tpc_abort on an error, potentially leaving storage in "commit is in progress" state on an error. /reviewed-by @jerome /reviewed-on nexedi/zodbtools!19
Showing
Please register or sign in to comment