wrr: use new-style atomic APIs#8815
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8815 +/- ##
==========================================
+ Coverage 83.29% 83.41% +0.11%
==========================================
Files 417 417
Lines 32980 32980
==========================================
+ Hits 27470 27509 +39
+ Misses 4099 4075 -24
+ Partials 1411 1396 -15
🚀 New features to boost your workflow:
|
mbissa
pushed a commit
to mbissa/grpc-go
that referenced
this pull request
Feb 16, 2026
Use new-style atomic APIs instead of the old ones in the WRR scheduler type. The changes made in this PR improve the code in the following ways: - Ergonomics: Method-based API vs function-based, no pointer management needed - Safety: Type safety prevents mixing atomic/non-atomic operations, eliminates pointer errors - Clarity: The atomic.Uint32 type makes atomic intent explicit from declaration RELEASE NOTES: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use new-style atomic APIs instead of the old ones in the WRR scheduler type.
The changes made in this PR improve the code in the following ways:
RELEASE NOTES: none