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

[FIXED] Publish async not closing done and stall channels after failed retries #1719

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

piotrpio
Copy link
Collaborator

This fixes an issue in new JetStream API where if maximum number of retries
in PublishMsgAsync are reached and the publish failed, done and stall channels
are not closed.
Additionally, this fixes a potential race issue with modifying user msg when publishing.

Signed-off-by: Piotr Piotrowski piotr@synadia.com

…d retries

This fixes an issue in new JetStream API where if maximum number of retries
in `PublishMsgAsync` are reached and the publish failed, done and stall channels
are not closed.
Additionally, this fixes a potential race issue with modifying user msg when publishing.

Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
@coveralls
Copy link

Coverage Status

coverage: 84.843% (-0.2%) from 84.998%
when pulling de98a35 on fix-publish-async
into f0b1ea4 on main.

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.

2 participants