zymap commented on issue #17520: URL: https://github.com/apache/pulsar/issues/17520#issuecomment-1241458556
The root cause is [this PR ](https://github.com/apache/bookkeeper/pull/3383). The problem is that we cannot call [await() ](https://github.com/apache/bookkeeper/blob/be7053b850a3ad53c09baeac15b01cabc8e9412a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PacketProcessorBase.java#L139)from an IO thread, even if we don’t have the consolidation in place if the socket buffer is full, that blocking call would cause a deadlock, also without the consolidate the await() was added, under the assumption that all these calls were coming from a thread pool dedicated to read operations. I will push a fix to bookkeeper side and create a new release for fixing this. -- 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]
