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] Redelivery of unack'ed msgs of leaving queue member #871

Merged
merged 1 commit into from
Jul 2, 2019

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Jul 2, 2019

When a queue member has unacknowledged messages and is leaving the
group, these messages are supposed to be immediately redelivered
to existing queue members. However, if a target member had unack'ed
messages of a sequence lower than the reassigned messages these
reassigned messages would not be redelivered until after the AckWait.

The issue was introduced in PR #729
with the incorrect change in ordering algo for the messages that
should expire.

Resolves #869

Signed-off-by: Ivan Kozlovic ivan@synadia.com

When a queue member has unacknowledged messages and is leaving the
group, these messages are supposed to be immediately redelivered
to existing queue members. However, if a target member had unack'ed
messages of a sequence lower than the reassigned messages these
reassigned messages would not be redelivered until after the AckWait.

The issue was introduced in PR #729
with the incorrect change in ordering algo for the messages that
should expire.

Resolves #869

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@kozlovic kozlovic requested a review from derekcollison July 2, 2019 17:12
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 92.023% when pulling d049586 on fix_869 into 718ebd3 on master.

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

@kozlovic kozlovic merged commit 67a7b14 into master Jul 2, 2019
@kozlovic kozlovic deleted the fix_869 branch July 2, 2019 18:49
@ld100 ld100 mentioned this pull request Aug 10, 2021
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.

Unack'ed msgs of leaving queue member not always immediately redelivered
3 participants