Skip to content
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

feat(tft): add filemutex for tft plugin cache #2140

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

apeabody
Copy link
Collaborator

@apeabody apeabody commented Feb 9, 2024

Prevent concurrent writes, or reads during writes, to the tft plugin cache.

@apeabody apeabody changed the title fix: add mutex for tft init fix(tft): add mutex for tft init Feb 9, 2024
@apeabody apeabody force-pushed the ap/btp-tft-mutex branch 9 times, most recently from 12098ee to 9034260 Compare February 12, 2024 16:15
@apeabody apeabody changed the title fix(tft): add mutex for tft init fix(tft): add rw mutex for tft plugin cache Feb 12, 2024
@apeabody apeabody force-pushed the ap/btp-tft-mutex branch 3 times, most recently from a0bbe07 to 8829c49 Compare February 12, 2024 17:53
@apeabody apeabody changed the title fix(tft): add rw mutex for tft plugin cache fix(tft): add rw filemutex for tft plugin cache Feb 12, 2024
@apeabody apeabody changed the title fix(tft): add rw filemutex for tft plugin cache fix(tft): add filemutex for tft plugin cache Feb 12, 2024
@apeabody apeabody force-pushed the ap/btp-tft-mutex branch 2 times, most recently from b5c3d80 to 734e7a5 Compare February 12, 2024 19:16
infra/blueprint-test/pkg/tft/terraform.go Outdated Show resolved Hide resolved
infra/blueprint-test/pkg/tft/terraform.go Show resolved Hide resolved
infra/blueprint-test/pkg/tft/terraform.go Outdated Show resolved Hide resolved
infra/blueprint-test/pkg/tft/terraform.go Show resolved Hide resolved
infra/blueprint-test/pkg/tft/terraform.go Outdated Show resolved Hide resolved
@apeabody
Copy link
Collaborator Author

@bharathkkb Thanks for the feedback!

@apeabody apeabody changed the title fix(tft): add filemutex for tft plugin cache feat(tft): add filemutex for tft plugin cache Feb 12, 2024
@apeabody apeabody merged commit 3568196 into master Feb 12, 2024
12 checks passed
@apeabody apeabody deleted the ap/btp-tft-mutex branch February 12, 2024 21: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.

2 participants