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

golang http fitler: fix race when waiting callback from Envoy #32081

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

doujiang24
Copy link
Member

fix #31654 and #29496

Thanks @spacewander for founding this race:
envoyGoRequestSemaDec may be invoked eariler than r.sema.Wait, then, there is no one to resume the r.sema.Wait.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@doujiang24
Copy link
Member Author

it's good to merge, thanks @jmarantz

@jmarantz jmarantz merged commit 4b8a2d0 into envoyproxy:main Jan 30, 2024
53 checks passed
@doujiang24 doujiang24 deleted the fix-sema branch February 8, 2024 17:17
spacewander pushed a commit to mosn/envoy that referenced this pull request Jun 27, 2024
…roxy#32081)

fix envoyproxy#31654 and envoyproxy#29496

Thanks @spacewander for founding this race:
envoyGoRequestSemaDec may be invoked eariler than r.sema.Wait, then, there is no one to resume the r.sema.Wait.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
Fixes: envoyproxy#31654, envoyproxy#29496


Signed-off-by: doujiang24 <[email protected]>
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.

IpVersions/GolangIntegrationTest.DynamicMetadata_Async_Sleep/IPv6 flake
3 participants