You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in this stack overflow post http://stackoverflow.com/a/31167112/147390 there is a race condition where a prepared statement in the DB, however the thread that created it is killed before Rails can record the successful statement.
I did some grepping and couldn't find this as an issue on Rails, so I wanted to raise it here. I don't know if there's a good work around, the post mentions using a GUID instead of an integer, that could work, or maybe adding retry logic to prepared statement creation so that it records a495 (or whatever number` is already taken and uses the next in the series.
The text was updated successfully, but these errors were encountered:
As seen in this stack overflow post http://stackoverflow.com/a/31167112/147390 there is a race condition where a prepared statement in the DB, however the thread that created it is killed before Rails can record the successful statement.
I did some grepping and couldn't find this as an issue on Rails, so I wanted to raise it here. I don't know if there's a good work around, the post mentions using a GUID instead of an integer, that could work, or maybe adding retry logic to prepared statement creation so that it records
a495
(or whatever number` is already taken and uses the next in the series.The text was updated successfully, but these errors were encountered: