kobe-yang opened a new pull request, #10272:
URL: https://github.com/apache/rocketmq/pull/10272

   ### Summary
   
   This PR fixes the missing periodic cleanup for 
`MemoryConsumerOrderInfoManager`.
   
   Previously, the cleanup logic already existed in `autoClean()`, including 
the case where the subscription group no longer exists, but it was not 
triggered periodically for the in-memory manager path.
   
   ### Changes
   
   - schedule periodic cleanup for memory consumer order info in broker 
periodic tasks
   - expose a cleanup entry from `PopLiteMessageProcessor`
   - keep `PopLiteLockManager` focused on lock timeout cleanup
   - add unit coverage for the missing-group cleanup case
   
   ### Why
   
   The issue is not in the cleanup rule itself, but in the missing trigger path 
for `MemoryConsumerOrderInfoManager.autoClean()`.
   
   ### Tests
   
   - `git diff --check`
   - `mvn -pl broker -am -Dmaven.repo.local=/tmp/rocketmq-m2 
-Dtest=ConsumerOrderInfoManagerTest -DfailIfNoTests=false 
-Dsurefire.failIfNoSpecifiedTests=false compiler:compile compiler:testCompile 
surefire:test`
   


-- 
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