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

Offer option to perform async client operations with timeout #33298

Closed
wants to merge 4 commits into from
Closed

Offer option to perform async client operations with timeout #33298

wants to merge 4 commits into from

Conversation

TheDevOps
Copy link

@TheDevOps TheDevOps commented Feb 2, 2023

Description

See #26465 (comment) for the details of the issue in short we have been observing regularly that some threads in a concurrentConsumer setup would stop to process further messages. A threadump shows them hanging in the complete section. After forking the repository and doing a quick test this issue can indeed be resolved by performing the .complete() action with a timeout after which the thread would recover. This change is created in a non invasive manor that offers clients the option to call the method with a given timeout while not changing any current default behavior

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

See #26465 (comment) for the details of the issue, in short we have been observing regularly that some threads in a concurrentConsumer setup would stop to process further messages. A threadump shows them hanging in the complete section. After forking the repository and doing a quick test this issue can indeed be resolved by performing the .complete() action with a timeout after which the thread would recover. This change is created in a non invasive manor that offers clients the option to call the method with a given timeout while not changing any current default behavior
@ghost ghost added Service Bus customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Feb 2, 2023
@ghost
Copy link

ghost commented Feb 2, 2023

Thank you for your contribution TheDevOps! We will review the pull request and get back to you soon.

@TheDevOps
Copy link
Author

@microsoft-github-policy-service agree company="Porsche Informatik GmbH"

@TheDevOps
Copy link
Author

See #33493 for details on why this is likely to have some side effects and only hides the root cause which will be addressed now!

@TheDevOps TheDevOps closed this Feb 16, 2023
@TheDevOps TheDevOps deleted the patch-1 branch February 16, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Bus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant