You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "majialoong (via GitHub)" <gi...@apache.org> on 2026/09/24 11:57:40 UTC
[PR] [ISSUE #11223] Fix stale lag time info remaining in getLiteGroupInfo after lite topic expired [rocketmq]
majialoong opened a new pull request, #11224:
URL: https://github.com/apache/rocketmq/pull/11224
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->
### Which Issue(s) This PR Fixes
<!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. -->
- Fixes #11223
### Brief Description
Remove the lag time info of a lite topic in `LiteConsumerLagCalculator` when the lite topic is deleted in `AbstractLiteLifecycleManager#deleteLmq`. This prevents expired lite topics from remaining in "TopK by lag time" of `getLiteGroupInfo`.
### How Did You Test This Change?
- Added a unit test `LiteConsumerLagCalculatorTest#testRemoveLagInfoByLmq`.
- Updated `AbstractLiteLifecycleManagerTest` to verify that the lag info is removed when a lite topic is deleted.
--
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 #11223] Fix stale lag time info remaining in getLiteGroupInfo after lite topic expired [rocketmq]
Posted by "f1amingo (via GitHub)" <gi...@apache.org>.
f1amingo commented on PR #11224:
URL: https://github.com/apache/rocketmq/pull/11224#issuecomment-6094322958
LGTM
--
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 #11223] Fix stale lag time info remaining in getLiteGroupInfo after lite topic expired [rocketmq]
Posted by "majialoong (via GitHub)" <gi...@apache.org>.
majialoong commented on PR #11224:
URL: https://github.com/apache/rocketmq/pull/11224#issuecomment-6092964734
Hi @f1amingo @RongtongJin , could you please review this PR when you have a chance? It fixes stale lag time info left behind after an expired LiteTopic is deleted. Thanks!
--
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 #11223] Fix stale lag time info remaining in getLiteGroupInfo after lite topic expired [rocketmq]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #11224:
URL: https://github.com/apache/rocketmq/pull/11224#issuecomment-5814039486
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/11224?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.61%. Comparing base ([`78b96bc`](https://app.codecov.io/gh/apache/rocketmq/commit/78b96bc5e21216cd7896efae08f90c5cde4cae53?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`d82e28a`](https://app.codecov.io/gh/apache/rocketmq/commit/d82e28a2a0663dda4fe0fc084c86fdca614c2a8a?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 #11224 +/- ##
=============================================
- Coverage 49.73% 49.61% -0.13%
+ Complexity 14348 14315 -33
=============================================
Files 1390 1390
Lines 103190 103197 +7
Branches 13493 13493
=============================================
- Hits 51321 51198 -123
- Misses 45702 45812 +110
- Partials 6167 6187 +20
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/rocketmq/pull/11224?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 #11223] Fix stale lag time info remaining in getLiteGroupInfo after lite topic expired [rocketmq]
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin merged PR #11224:
URL: https://github.com/apache/rocketmq/pull/11224
--
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