f1amingo opened a new pull request, #11524: URL: https://github.com/apache/rocketmq/pull/11524
### Which Issue(s) This PR Fixes - Fixes #11523 ### Brief Description The background scan blacklists a client for 10s when removing its inactive event set, even if the set is empty. For a wildcard group whose lite topic has only this subscriber, new messages in the blacklist window cannot be dispatched and wait for blacklist expiry plus full-dispatch retry alignment, delaying first delivery by seconds on healthy idle consumers. This PR only blacklists clients that still hold events to re-dispatch (the blacklist's actual purpose), so idle removal just cleans up the entry and new messages dispatch immediately; behavior for blocked clients with pending events is unchanged. ### How Did You Test This Change? - Added unit tests: idle empty event set is removed without blacklist and a new message dispatches immediately; a blocked client with events is still blacklisted and its events are re-dispatched to other clients; a sole wildcard blocked client is still throttled. - LiteEventDispatcherTest: 34/34 passed; broker module checkstyle passed. -- 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]
