unlock unused queue when orderly consumer rebalance#1220
Open
wgffgw wants to merge 3 commits intoapache:masterfrom
Open
unlock unused queue when orderly consumer rebalance#1220wgffgw wants to merge 3 commits intoapache:masterfrom
wgffgw wants to merge 3 commits intoapache:masterfrom
Conversation
when delete mq from process queue , if not unlock , then the mq will lock failed and can't add into process queue when the new consumer allocate this mq until 60s lock timeout。
unlock unused queue when orderly consumer rebalance
unlock unused queue when orderly consumer rebalance
Author
|
在扩容的时候旧消费者需要把一部分订阅的queue给到新消费者订阅,如果不主动释放锁,新消费者要等1分钟才能订阅消费,缩容也存在这样的问题 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
unlock unused queue when orderly consumer rebalance
Brief changelog
当订阅关系发生变化时,及时释放不在订阅的queue的锁以便新的消费者能够立马订阅,不用等待1分钟后锁过期再订阅。
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice,
it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.[ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.