Skip to content

Conversation

@adambarreiro
Copy link
Contributor

@adambarreiro adambarreiro commented Mar 18, 2025

When these operations are run concurrently (they only depend on org_id, so they always will), there's a high probability that the target Organization gets completely bricked (can't read, update, delete nor access TP).

The affected resources are:

  • vcfa_org_ldap
  • vcfa_org_settings

When creating/updating/deleting these at the same time, an error can occur and the target Organization gets bricked.

This PR adds a mutex to prevent this issue.

abarreiro added 2 commits March 18, 2025 12:46
@adambarreiro adambarreiro self-assigned this Mar 18, 2025
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro marked this pull request as ready for review March 18, 2025 12:33
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro merged commit a280ddd into vmware:main Mar 18, 2025
2 checks passed
@adambarreiro adambarreiro deleted the fix-destroy-issues branch March 18, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants