-
Notifications
You must be signed in to change notification settings - Fork 212
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
Deadlock on state refresh with multiple grants for single role #165
Comments
We seem to be having this same issue with 12.4, using cloudposse's atmos, atmost hangs indefinitely while refreshing the state of postgres. |
@mochja Thanks for opening this issue and sorry for the response delay. Your simple test code allowed me to find out what is the issue (We already encountered this problem without being able to reproduce it clearly). It's not really linked to the fact that there's multiple grant on single role but just the multiple grant on schema on I already have a fix for that, I'll try to publish it this week. |
Any update on this? I can confirm that the issue is exactly as described. Running terraform with I encountered this because I tried to use a |
Any update on this? Currently running into this same problem and a fix (or a good workaround, really) would be highly appreciated! |
Hi, Any update on this? The only way so far to work around it is to set terraform -parallelism=1 but the refresh and apply of the resources takes a long time on databases with large numbers of users |
#351 may be related. |
Hi, |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/mochja/de0700074dce69b3b0ba992ddaf43718
Expected Behavior
State should be correctly refreshed at all times.
Actual Behavior
Refresh state sometimes hangs indefinitely.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
terraform apply
terraform apply
terraform apply
Important Factoids
Running on Postgres 10. Able to build & apply correct plan with
-refresh=false
on subsequent runs.The text was updated successfully, but these errors were encountered: