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] Race condition that could cause error on subscribe #1241

Merged
merged 1 commit into from
Feb 12, 2022
Merged

Conversation

kozlovic
Copy link
Member

If the server times out a client while an application with
the same client ID just (re)connected and is about to resume
a durable consumer, a race could cause the subscription to
fail with an "unknown client ID" error if the replace_durable
option was set.

Resolves #1239

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

If the server times out a client while an application with
the same client ID just (re)connected and is about to resume
a durable consumer, a race could cause the subscription to
fail with an "unknown client ID" error if the replace_durable
option was set.

Resolves #1239

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 91.516% when pulling 035c98f on fix_1239 into 82edf4b on main.

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 582a11e into main Feb 12, 2022
@kozlovic kozlovic deleted the fix_1239 branch February 12, 2022 00:40
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.

sub close request for missing client
3 participants