Skip to content

Investigate & fix SemaphoreFullException #1819

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

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

lukebakken
Copy link
Collaborator

Fixes #1818

Start by modifying test to concurrently publish to the same IChannel instance.

@lukebakken lukebakken added this to the 7.1.3 milestone Mar 27, 2025
@lukebakken lukebakken self-assigned this Mar 27, 2025
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1818 branch from e5e3ba5 to f4ba70e Compare March 27, 2025 21:32
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1818 branch from 24fa327 to 0ae8d39 Compare April 8, 2025 15:41
@lukebakken lukebakken modified the milestones: 7.1.3, 7.2.0 May 12, 2025
@lukebakken lukebakken marked this pull request as ready for review July 23, 2025 17:37
Fixes #1818

Start by modifying test to concurrently publish to the same `IChannel` instance.

* Add queue arguments to test to simulate nacks.

* Consolidate duplicated code.

* Remove TCS from `_confirmsTaskCompletionSources` if there is an `OperationCanceledException`.

* Consistently use `TryRemove`

* Remove use of `Debug.Assert`
@lukebakken lukebakken force-pushed the rabbitmq-dotnet-client-1818 branch from 0ae8d39 to 6098e44 Compare July 23, 2025 18:32
@lukebakken lukebakken merged commit a267025 into main Jul 23, 2025
16 checks passed
@lukebakken lukebakken deleted the rabbitmq-dotnet-client-1818 branch July 23, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Semaphore exception when publishing with confirmation
1 participant