-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update transaction stage earlier in commit_and_continue_as_read #5615
Conversation
This will ensure the the stage is correct even if subsequent procedure calls will trigger an exception.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I don't quite get what you have in mind here. But I also don't see how it can hurt either. I'll leave a tentative approval, but it might be best to get another set of eyes on this one.
AFAICT, everything between That means that the main effect of this is that if |
I changed this so that an exception in commit_and_continue_as_read will cause the Transaction object to reject both reading and writing afterwards. |
This will ensure the the stage is correct even if subsequent
procedure calls will trigger an exception.
☑️ ToDos