Skip to content

Fix start() and shutdown() of DefaultMessagingProcessor#7838

Merged
yuz10 merged 2 commits intoapache:developfrom
redlsz:bugfix/messaging-processor-start-shutdown
Sep 3, 2025
Merged

Fix start() and shutdown() of DefaultMessagingProcessor#7838
yuz10 merged 2 commits intoapache:developfrom
redlsz:bugfix/messaging-processor-start-shutdown

Conversation

@redlsz
Copy link
Copy Markdown
Contributor

@redlsz redlsz commented Feb 20, 2024

Which Issue(s) This PR Fixes

Fixes #7837

Brief Description

  1. Complete ReceiptHandleProcessor's start() and shutdown()
  2. Complete DefaultMessagingProcessor‘s start() and shutdown()

How Did You Test This Change?

UT

@lollipopjin lollipopjin requested a review from drpmma February 20, 2024 07:18
@lollipopjin lollipopjin assigned lollipopjin and drpmma and unassigned lollipopjin Feb 20, 2024

protected void init() {
this.appendStartAndShutdown(this.serviceManager);
this.appendStartAndShutdown(producerProcessor);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It seems that it's not necessary to start processors because this issue is only related to receiptHandleManager.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems that it's not necessary to start processors because this issue is only related to receiptHandleManager.

Indeed, this issue is only related to receiptHandleProcessor. But all these processors extend AbstractStartAndShutdown and there is no caller, which may be error-prone over time?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 26, 2024

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 49.86%. Comparing base (7dc0e5a) to head (c8638f6).
⚠️ Report is 498 commits behind head on develop.

Files with missing lines Patch % Lines
...tmq/proxy/processor/DefaultMessagingProcessor.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7838      +/-   ##
=============================================
+ Coverage      42.95%   49.86%   +6.91%     
- Complexity      9909    15036    +5127     
=============================================
  Files           1190     1384     +194     
  Lines          85984   116757   +30773     
  Branches       11079    17246    +6167     
=============================================
+ Hits           36932    58222   +21290     
- Misses         44472    52041    +7569     
- Partials        4580     6494    +1914     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leizhiyuan
Copy link
Copy Markdown
Contributor

any update?

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2025

This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions Bot added the stale label Mar 6, 2025
@github-actions
Copy link
Copy Markdown

This PR was closed because it has been inactive for 3 days since being marked as stale.

@github-actions github-actions Bot closed this Mar 10, 2025
@yuz10 yuz10 reopened this Sep 2, 2025
@github-actions github-actions Bot removed the stale label Sep 3, 2025
@yuz10 yuz10 merged commit 365b297 into apache:develop Sep 3, 2025
15 of 17 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.

[Bug] Receipt handle auto-renew scheduled task is not started

6 participants