You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "f1amingo (via GitHub)" <gi...@apache.org> on 2026/09/11 06:19:57 UTC
[PR] [ISSUE #11129] HashedWheelTimer resource leak when broker shuts down with Lite Topic pop [rocketmq]
f1amingo opened a new pull request, #11130:
URL: https://github.com/apache/rocketmq/pull/11130
### Which Issue(s) This PR Fixes
- Fixes #11129
### Brief Description
The Lite pop processor creates its own ConsumerOrderInfoManager whose internal lock manager holds a non-daemon HashedWheelTimer, but the broker shutdown flow never shuts it down — the existing consumerOrderInfoManager.shutdown() call covers a different instance. This adds the missing shutdown call so the timer is stopped on broker exit.
### How Did You Test This Change?
- Compiled the broker module successfully (mvn -pl broker -am install).
- Manually traced the shutdown chain: BrokerController -> popLiteMessageProcessor.getConsumerOrderInfoManager().shutdown() -> QueueLevelConsumerOrderInfoLockManager.shutdown() -> timer.stop().
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #11129] HashedWheelTimer resource leak when broker shuts down with Lite Topic pop [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #11130:
URL: https://github.com/apache/rocketmq/pull/11130#issuecomment-5630607509
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/11130?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 49.27%. Comparing base ([`d38f81e`](https://app.codecov.io/gh/apache/rocketmq/commit/d38f81e787c2bb3d05a601192a8014e771b829a4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`31ea292`](https://app.codecov.io/gh/apache/rocketmq/commit/31ea292d4342c9f45f9d1c96eb7f07b1b943e2d7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## develop #11130 +/- ##
=============================================
- Coverage 49.39% 49.27% -0.12%
+ Complexity 14237 14205 -32
=============================================
Files 1390 1390
Lines 103122 103123 +1
Branches 13484 13484
=============================================
- Hits 50932 50819 -113
- Misses 46029 46122 +93
- Partials 6161 6182 +21
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/rocketmq/pull/11130?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #11129] HashedWheelTimer resource leak when broker shuts down with Lite Topic pop [rocketmq]
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin merged PR #11130:
URL: https://github.com/apache/rocketmq/pull/11130
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org