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

[ISSUE #8592] Not notify long polling request when pop orderly consume blocked #8593

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

lizhimins
Copy link
Member

Which Issue(s) This PR Fixes

Fixes #8592

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 47.20%. Comparing base (00a05a5) to head (44b01cc).

Files Patch % Lines
...rocketmq/broker/processor/PopMessageProcessor.java 0.00% 5 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8593      +/-   ##
=============================================
- Coverage      47.23%   47.20%   -0.03%     
+ Complexity     11464    11458       -6     
=============================================
  Files           1277     1277              
  Lines          89342    89342              
  Branches       11480    11480              
=============================================
- Hits           42202    42177      -25     
- Misses         41939    41967      +28     
+ Partials        5201     5198       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

if (isOrder) {
if (brokerController.getConsumerOrderInfoManager().checkBlock(
attemptId, topic, requestHeader.getConsumerGroup(), queueId, requestHeader.getInvisibleTime())) {
// should not add accumulation(max offset - consumer offset) here
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,Means return the original restNum if lock failed.

Copy link
Contributor

@lollipopjin lollipopjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lollipopjin lollipopjin merged commit 18c30cb into apache:develop Aug 29, 2024
10 checks passed
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.

[Enhancement] Not notify long polling request when pop orderly consume blocked
3 participants