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

fix(pubsub): avoid deadlocks in publish flow control #7313

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Sep 14, 2021

Fixes #7309


This change is Reviewable

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Sep 14, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2021
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: bef904ecec05fdd867621b0821d7386ef704abb0

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Sep 14, 2021

Codecov Report

Merging #7313 (bef904e) into main (25a331f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7313   +/-   ##
=======================================
  Coverage   93.69%   93.69%           
=======================================
  Files        1347     1347           
  Lines      116544   116562   +18     
=======================================
+ Hits       109194   109212   +18     
  Misses       7350     7350           
Impacted Files Coverage Δ
...b/internal/flow_controlled_publisher_connection.cc 100.00% <100.00%> (ø)
...ernal/flow_controlled_publisher_connection_test.cc 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25a331f...bef904e. Read the comment docs.

@coryan coryan marked this pull request as ready for review September 14, 2021 21:03
@coryan coryan requested a review from a team as a code owner September 14, 2021 21:03
Copy link
Member

@dbolduc dbolduc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @coryan)

@coryan coryan merged commit 3475fbb into googleapis:main Sep 14, 2021
@coryan coryan deleted the fix-pubsub-avoid-deadlocks-in-publish-flow-control branch September 14, 2021 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pubsub sometimes waits indefinitely while publishing messages
3 participants