-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid raising execeptions during tpc_finish
Commit (send) email from tpc_vote rather than tpc_finish. The documentation for ``transaction`` says that tpc_finish should never fail. Data managers which really have only "one-phase-commit" semantics (and whose commit operation may fail) should do the deed in tpc_vote. (At least, that's what zope.sqlalchemy does.) Refs: https://zodb.readthedocs.org/en/latest/transactions.html#tpc-finish
- Loading branch information
Showing
3 changed files
with
22 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
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