Skip to content

Fixed handling of consumers with equal names on on key shared selector with consistent hashing - #13991

Merged
codelipenghui merged 1 commit into
apache:masterfrom
merlimat:fix-ks-removal
Jan 28, 2022
Merged

codelipenghui merged 1 commit into
apache:masterfrom
merlimat:fix-ks-removal

Conversation

@merlimat

Copy link
Copy Markdown
Contributor

Motivation

Fixes #10750

When removing consumers from the key-shared selector based on the consistent hashing, we were removing by consumer name, although there can be duplicated consumer names (even though is not recommended).

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Jan 27, 2022
@merlimat merlimat added this to the 2.10.0 milestone Jan 27, 2022
@merlimat merlimat self-assigned this Jan 27, 2022
@github-actions

Copy link
Copy Markdown

@merlimat:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@merlimat merlimat added doc-not-needed Your PR changes do not impact docs release/2.9.3 and removed doc-label-missing labels Jan 27, 2022
@codelipenghui
codelipenghui merged commit 8360d45 into apache:master Jan 28, 2022
@merlimat
merlimat deleted the fix-ks-removal branch January 28, 2022 01:54
codelipenghui pushed a commit that referenced this pull request Jan 29, 2022
…r with consistent hashing (#13991)

Fixes #10750

When removing consumers from the key-shared selector based on the consistent hashing, we were removing by consumer name, although there can be duplicated consumer names (even though is not recommended).

(cherry picked from commit 8360d45)
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Jan 29, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
…r with consistent hashing (apache#13991)

### Motivation

Fixes apache#10750

When removing consumers from the key-shared selector based on the consistent hashing, we were removing by consumer name, although there can be duplicated consumer names (even though is not recommended).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.9 Archived: 2.9 is end of life doc-not-needed Your PR changes do not impact docs release/2.9.2 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consumer cannot consume messages when key_shared mode and subscriptionKeySharedUseConsistentHashing

4 participants