-
Notifications
You must be signed in to change notification settings - Fork 546
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
remote/transport: Make bearer transport go-routine-safe #1806
remote/transport: Make bearer transport go-routine-safe #1806
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
95eb9fd
to
ef93d22
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1806 +/- ##
==========================================
+ Coverage 71.65% 71.69% +0.03%
==========================================
Files 123 123
Lines 9928 9941 +13
==========================================
+ Hits 7114 7127 +13
Misses 2115 2115
Partials 699 699 ☔ View full report in Codecov by Sentry. |
@2opremio - could you rebase the branch of this PR on the current trunk to pick up the latest changes, please? |
Make the bearer transport safe for use by multiple go-routines.
ef93d22
to
b666669
Compare
@dmitris done! |
any chance you could do the CLA, @2opremio? Want to see your change in the main repo rather than having to apply it as a patch in CI 😄 |
I did! It should be approved, isn't it? |
@jonjohnsonjr - is this ready to merge or what do we need to move this ahead? Could you please review it? 🙏 Thanks! |
This Pull Request is stale because it has been open for 90 days with |
This Pull Request is stale because it has been open for 90 days with |
@dmitris can we please get this merged? |
thanks @jonjohnsonjr - could you also cut a new release (v0.20.3), please? /cc @imjasonh |
Make the bearer transport safe for use by multiple go-routines.
I found the following race conditions in my application, when using the transport in a client making multiple concurrent requests.
Data race backtraces
A simplified application could be: