-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
awaiting-upstreamThe issue cannot be resolved without action in another repository (may be owned by Pulumi).The issue cannot be resolved without action in another repository (may be owned by Pulumi).
Description
I have run into the following issue while revoking grants a couple of times:
Diagnostics:
pulumi:pulumi:Stack (<stack>):
error: update failed
postgresql:index:Grant (<user>_table_grant):
error: sdk-v2/provider2.go:572: sdk.helper_schema: could not execute revoke query: pq: tuple concurrently updated: [email protected]
error: deleting urn:pulumi:<stack>::<program>::postgresql:index/grant:Grant::<user>_table_grant_table_grant: 1 error occurred:
* could not execute revoke query: pq: tuple concurrently updated
Resources:
- 12 deleted
This is while running destroy against a stack which provisions two different users with table and sequence level grants.
The bug seems to be mentioned in the Terraform provider here: cyrilgdn/terraform-provider-postgresql#178
In that issue, they say it is possible work around the issue by setting parallelism=1, and there also seems to be a fix that has been tested and found working but not merged by the maintainer. Raising it here because I want to check in whether we can provide a workaround within Pulumi.
Metadata
Metadata
Assignees
Labels
awaiting-upstreamThe issue cannot be resolved without action in another repository (may be owned by Pulumi).The issue cannot be resolved without action in another repository (may be owned by Pulumi).