-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot run migrations with latest git #2256
Comments
/cc @blatyo |
Thanks for the test repo @xadhoom. I've duplicated the issue with your repo. Very clearly not exhausting the connection pool and no special isolation level. I'll take a look tonight. |
My preliminary investigation, even though the database is setup with a pool size of 10, there is only one connection available in the pool. I'm investigating why that is, but the issue is pool exhaustion. |
@xadhoom I'm not sure if this is currently blocking you. If it is, doing |
I've also create PR #2259 to make this situation less confusing |
yep, it works thanks! |
Environment
Additional information
A very barebone app to test the issue: https://github.com/xadhoom/test_ecto
Current behavior
Migration fails with timeout even with SQL.Sandbox adapter.
With standard adapter:
With Sandbox adapter:
This seems related to #2245
Expected behavior
Migration runs
The text was updated successfully, but these errors were encountered: