f1amingo opened a new pull request, #11601: URL: https://github.com/apache/rocketmq/pull/11601
### Which Issue(s) This PR Fixes - Fixes #11600 ### Brief Description Preserve arrival notifications between the eligibility check and long-polling registration so readable messages do not wait for another arrival or the polling timeout. - Attach notification counts to existing polling queues and snapshot before checking eligibility. - Retry waiter notification after registration when the count changed, without advancing it during compensation. - Cover ordinary/KV POP, Notification, Lite Notification and Lite POP; retain existing non-polling behavior and polling overloads. Group-wide counting may cause conservative rechecks after notifications from other queues. It also adds cached counting queues and atomic operations. Cache/route eviction and per-waiter fairness guarantees are outside this fix; compensation keeps the existing waiter-selection policy. ### How Did You Test This Change? - 39 component and polling-service tests passed in 20 consecutive runs on the latest develop baseline. - Replacing all three processors with their unmodified develop versions produced exactly the 12 expected assertion failures out of 14 component tests. - 89 related broker tests passed through Maven, with no failures, errors or skips; Checkstyle and git diff --check passed. - End-to-end throughput and cache-capacity stress tests have not been run. -- 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]
