merlimat opened a new pull request #12339: URL: https://github.com/apache/pulsar/pull/12339
### Motivation We have several places that are accessing the namespace policies in a synchronous way from the critical IO threads of the broker. These accesses are almost always non-blocking calls since the policies are already cached (given that the topic was just loaded and the policies were checked then). There are few corner cases though in which we would incur in cache misses and that could have a big impact, up to result in a complete deadlock, if we exhaust all the threads in the ordered executors. For example this can happen when there are thousands of producers/consumers connecting and there is a change in the policies that triggers a cache invalidation. We must have no potentially blocking calls in the critical path. -- 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]
