Skip to content
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

Handle transaction panic #335

Closed
wants to merge 3 commits into from
Closed

Handle transaction panic #335

wants to merge 3 commits into from

Conversation

kayslay
Copy link

@kayslay kayslay commented Jan 3, 2019

Handle panic that comes from the fn func(tx *Connection) parameter.

Whenever a panic occurs in a Connection.Transaction the TX.Rollback or TX.Commit is not called after the panic has been recovered. Any call to the Connection.Transaction would block forever.

@kayslay kayslay requested a review from a team as a code owner January 3, 2019 05:58
@stanislas-m stanislas-m self-assigned this Jan 7, 2019
@paganotoni
Copy link
Member

closing this one because inactivity. I added the change in another PR.

@paganotoni paganotoni closed this May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants