-
Notifications
You must be signed in to change notification settings - Fork 18k
database/sql: possible race condition when canceling Tx with open Rows #20622
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
Comments
We want to do a beta early next week. Can you get a fix out soon? |
I should be able to look into it this afternoon. |
CL https://golang.org/cl/45275 mentions this issue. |
After instrumenting the fakeConn with a var that gets read and written to on each call, the concurrency test blew up on the race try bot, though I'm having trouble replicating it locally. This was after I fixed the above sql interface race.
|
The following program produces a race condition for both mysql and sqlserver drivers. While this could be a common issue with both drivers, it is also possible it is an issue with database/sql.
To reproduce:
Race report using sqlserver driver
Race report using the mysql driver
orig from google/trillian#617
The text was updated successfully, but these errors were encountered: