Skip to content

Conversation

@dpcollins-google
Copy link
Collaborator

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@dpcollins-google dpcollins-google requested a review from a team as a code owner April 29, 2023 08:51
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: pubsublite Issues related to the googleapis/java-pubsublite API. labels Apr 29, 2023
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner April 29, 2023 08:53
@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Apr 29, 2023
@dpcollins-google dpcollins-google added the automerge Merge the pull request once unit tests and other checks pass. label Apr 29, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit 76ad662 into main Apr 29, 2023
@gcf-merge-on-green gcf-merge-on-green bot deleted the dont-block-for-flush branch April 29, 2023 09:20
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 29, 2023
tmdiep added a commit that referenced this pull request May 13, 2023
tmdiep added a commit to tmdiep/java-pubsublite that referenced this pull request May 13, 2023
Do not process background requests in alarm pool while publish and subscribe streams are reconnecting. Avoid grabbing the same lock as reinitialize, which will be held until the stream is successfully reconnected.

Also reverts googleapis#1394, which can cause thread explosion.
dpcollins-google pushed a commit that referenced this pull request May 15, 2023
* fix: avoid blocking alarm pool during stream reconnects

Do not process background requests in alarm pool while publish and subscribe streams are reconnecting. Avoid grabbing the same lock as reinitialize, which will be held until the stream is successfully reconnected.

Also reverts #1394, which can cause thread explosion.

* Remove unintended change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsublite Issues related to the googleapis/java-pubsublite API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants