Skip to content

Conversation

nbaws
Copy link
Contributor

@nbaws nbaws commented Aug 21, 2025

Commit Message: aws: weak_ptr implementations for race condition crash
Additional Description: Addresses two customer reported issues in high load situations, where race conditions occur during async credential handling. These implementations use the weak_ptr pattern to ensure safety when making callbacks after an async credential retrieval has completed.
Risk Level: Low
Testing: Unit
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

nbaws added 6 commits August 14, 2025 07:39
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
@nbaws nbaws requested a review from mattklein123 as a code owner August 21, 2025 00:39
@nbaws
Copy link
Contributor Author

nbaws commented Aug 21, 2025

@niax

@ravenblackx
Copy link
Contributor

Looks like the specific test is failing CI in tsan and asan, so likely needs work. (heap-use-after-free)

@nbaws nbaws marked this pull request as draft August 22, 2025 22:26
Signed-off-by: Nigel Brittain <[email protected]>
nbaws added 2 commits August 26, 2025 05:43
Signed-off-by: Nigel Brittain <[email protected]>
@nbaws nbaws marked this pull request as ready for review August 27, 2025 05:02
@mattklein123 mattklein123 merged commit 1dd0f72 into envoyproxy:main Aug 29, 2025
24 checks passed
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.

3 participants