Allow migration_lock to be specified in check_repo_status#160
Allow migration_lock to be specified in check_repo_status#160josevalim merged 5 commits intophoenixframework:masterfrom
Conversation
|
Woot! Nice seeing you here too @greg-rychlewski! I think we need to bump the Ecto dependency to |
|
Oh yes sure no problem :). All done. Is it ok that the mix.lock version is 3.9 or should that be 3.5? |
|
It is fine to be 3.9 I think! |
|
It seems we will also have to bump CI and mix.exs to use at least Elixir v1.10. :) |
|
Updated the CI to Elixir 1.10/OTP 21 and Elixir 1.14/OTP 25 |
|
💚 💙 💜 💛 ❤️ |
|
you beat me to it :) |
|
Hey sorry for resurface this, but we just spent a whole day debugging this issue 😅. We were pretty happy that we found this solution, but were wondering - is there a reason this is not the default? I'm happy to submit a PR to make it the default if that makes sense. |
|
@dkarter what exactly do you mean when you say "spent a whole day debugging this issue"? So what behavior did you see that was unexpected? |
|
This issue describes the issue pretty well: |
|
I see. Sadly, I don't know why |
|
Since we are just checking migrations, we can probably have migration_lock: false by default for checking? |
|
I have a PR up here: #196 |
This can be useful for example when the user wants to have advisory locks for migrations but doesn't need that level of locking for checking pending migrations.