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

Fix bug in needAck #4008

Merged
merged 1 commit into from Mar 31, 2023
Merged

Fix bug in needAck #4008

merged 1 commit into from Mar 31, 2023

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Mar 31, 2023

needAck has reverse logic for checking single subject-single filter
scenario.

Signed-off-by: Tomasz Pietrek tomasz@nats.io

Copy link
Member

@derekcollison derekcollison 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

Make not a draft and we can merge it in.

Do you have a test for it?

@Jarema Jarema marked this pull request as ready for review March 31, 2023 21:19
@Jarema Jarema requested a review from a team as a code owner March 31, 2023 21:19
@derekcollison
Copy link
Member

Should we get a test in here too?

@Jarema
Copy link
Member Author

Jarema commented Mar 31, 2023

Would be good. Working on it. Not trivial to test when found while checking code, not on failing test.

EDIT, that is trivial :). Almost there.

needAck has reverse logic for checking single subject-single filter
scenario.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@Jarema
Copy link
Member Author

Jarema commented Mar 31, 2023

Tests added.

@derekcollison derekcollison merged commit ac96d75 into dev Mar 31, 2023
2 checks passed
@derekcollison derekcollison deleted the jarema-fix-is-filtered branch March 31, 2023 22:56
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.

None yet

2 participants