Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improve][broker] Reduce the re-schedule message read operation for P…
…ersistentDispatcherMultipleConsumers (#16241) ### Motivation Fix the CPU consumption while having many consumers (> 100k) and enabled dispatch rate limit.  [broker_perf.html.txt](https://github.com/apache/pulsar/files/8991916/broker_perf.html.txt) ### Modification - Added `isRescheduleReadInProgress` to ensure the dispatcher only has one pending re-schedule read task at a time. - Added DEBUG log for the re-schedule read operation (cherry picked from commit eec46dd) (cherry picked from commit e83c26e)
- Loading branch information