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

[IMPROVED] Adjusted stalled producers to not be as penalizing. #6568

Merged
merged 4 commits into from
Feb 24, 2025

Conversation

derekcollison
Copy link
Member

@derekcollison derekcollison commented Feb 21, 2025

Fixes #5394

Signed-off-by: Derek Collison [email protected]

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM

@alexbozhenko
Copy link
Contributor

alexbozhenko commented Feb 21, 2025

From the perspective of someone not deeply familiar with NATS internals (which I imagine includes many customers), it would be helpful to include a sentence or two in the PR description explaining what is changing and why.

@wallyqs
Copy link
Member

wallyqs commented Feb 21, 2025

@alexbozhenko linked to the kind of issues that this would fix: #5394

@derekcollison
Copy link
Member Author

Fixed a broken test and updated warning based on @wallyqs feedback.

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison
Copy link
Member Author

We do have some actually, and we have lots of benchmarks that test it.. I could add more, but the msgtrace ones are pretty good.

If we feel that is required, I can add it in..

Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

I hadn't looked at the message tracing tests but if you think the coverage is OK then the changes look good to me.

@derekcollison
Copy link
Member Author

I will see if I can write a test..

@derekcollison
Copy link
Member Author

I added a test, which caught a minor bug, so good idea.

Should be ready for final review and I will squash once approved and tests are green.

Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM!

@derekcollison derekcollison merged commit a42b2e9 into main Feb 24, 2025
5 checks passed
@derekcollison derekcollison deleted the stallgate branch February 24, 2025 16:50
neilalexander pushed a commit that referenced this pull request Feb 24, 2025
neilalexander added a commit that referenced this pull request Feb 25, 2025
Includes the following:

- #6574
- #6568
- #6575
- #6576

Signed-off-by: Neil Twigg <[email protected]>
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.

Performance degradation with slow consumers [v2.9.X, v2.10.X]
4 participants