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 release-1.14] Fix locking in the PackagedFunctionRunner #5674

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

Description

Backport of #5662 to release-1.14.

The runner was relying on potentially stale state. A race could cause
Goroutine A's state to become outdated if Goroutine B updated it between
when Goroutine A released its read lock and took a write lock.

Signed-off-by: Nic Cope <[email protected]>
(cherry picked from commit ba00579)
@github-actions github-actions bot requested review from negz and a team as code owners May 10, 2024 19:18
@github-actions github-actions bot requested a review from bobh66 May 10, 2024 19:18
@negz negz closed this May 10, 2024
@negz negz reopened this May 10, 2024
@negz negz self-assigned this May 13, 2024
@negz negz closed this May 14, 2024
@negz negz deleted the backport-5662-to-release-1.14 branch May 14, 2024 20:48
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.

None yet

1 participant