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

[ServiceBus] Avoid reporting OperationCanceledException in message pump #7935

Merged
merged 3 commits into from
Oct 12, 2019

Conversation

nemakam
Copy link
Contributor

@nemakam nemakam commented Oct 4, 2019

When the pump is being shut down, Cancel is called on pumpCancellationToken, which eventually throws OperationCanceledException while waiting on the maxConcurrentCallsSemaphoreSlim.
Since it is a genuine situation, avoid reporting it.

Fixes #6410

@nemakam nemakam requested a review from jsquire as a code owner October 4, 2019 21:48
@nemakam nemakam self-assigned this Oct 4, 2019
@jsquire jsquire added the Client This issue points to a problem in the data-plane of the library. label Oct 7, 2019
@nemakam nemakam merged commit a72b04f into Azure:master Oct 12, 2019
@nemakam nemakam deleted the operationCanceledExceptionInPump branch October 12, 2019 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus
Projects
None yet
4 participants