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

Backport of Fix potential race on core.activityLog into release/1.14.x #22573

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #22571 to be assessed for backporting due to the inclusion of the label backport/1.14.x.

The below text is copied from the body of the original PR.


This PR addresses a potential race introduced in #18809. We want to make sure the activitylog doesn't change from underneath us, so we should make sure to use the activitylog pointer we've copied in a read lock, rather than c.activityLog.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/use-locked-activitylog-pointer/namely-superb-salmon branch from 619bf67 to 09dd3e4 Compare August 25, 2023 21:30
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/use-locked-activitylog-pointer/namely-superb-salmon branch from 8a120cc to 7d85507 Compare August 25, 2023 21:30
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Aug 25, 2023
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@mpalmi mpalmi merged commit a360f12 into release/1.14.x Aug 25, 2023
@mpalmi mpalmi deleted the backport/use-locked-activitylog-pointer/namely-superb-salmon branch August 25, 2023 21:46
@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog pr/no-milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants