Skip to content

Conversation

@stevendpclark
Copy link
Contributor

  • When updating a seal wrapper's lastHealthCheck in a failure scenario we would read the lastSeenHealthy value in order to not update it outside of a locked context. This lead to the data race.

  • Merge the SetHealthy and setHealthy functions into one, in order to combine the logic and locking in a single function

 - When updating a seal wrapper's lastHealthCheck in a failure scenario
   we would read the lastSeenHealthy value in order to not update it
   outside of a locked context. This lead to the data race.

 - Merge the SetHealthy and setHealthy functions into one, in order
   to combine the logic and locking in a single function
@stevendpclark stevendpclark added this to the 1.15.9 milestone May 14, 2024
@stevendpclark stevendpclark self-assigned this May 14, 2024
@stevendpclark stevendpclark requested a review from a team as a code owner May 14, 2024 14:44
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label May 14, 2024
@github-actions
Copy link

github-actions bot commented May 14, 2024

CI Results:
All Go tests succeeded! ✅

@github-actions
Copy link

github-actions bot commented May 14, 2024

Build Results:
All builds succeeded! ✅

Copy link
Contributor

@victorr victorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

Copy link
Contributor

@peteski22 peteski22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants