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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to