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

Bench command retry publication when pub ack future is an error #1193

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

jnmoyne
Copy link
Contributor

@jnmoyne jnmoyne commented Dec 10, 2024

With the new changes to the max IPQ size on server v2.11 it is really easy to have some of the JS publish requests dropped when running nats bench using more than just a handfull of client connections.

This change just logs the error from a pub ack future and retries the publication instead of fatally stopping when this happens.

… easy to have some of the JS publish requests dropped when running nats bench using more than just a handfull of client connections.

This change just logs the error from a pub ack future and retries the publication instead of fatally stopping when this happens.

Signed-off-by: Jean-Noël Moyne <[email protected]>
@jnmoyne jnmoyne requested a review from ripienaar December 10, 2024 03:28
Copy link
Collaborator

@ripienaar ripienaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ripienaar ripienaar merged commit 3f5d5f9 into main Dec 10, 2024
6 checks passed
@ripienaar ripienaar deleted the jnm/9-dec-24 branch December 10, 2024 08:42
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