bharanic-dev opened a new pull request #12930: URL: https://github.com/apache/pulsar/pull/12930
Fixes #12929 ### Motivation A blocking thenAccept() call in metadata-store callback thread causes deadlock. ### Modifications Change thenAccept() to thenAcceptAsync() to avoid deadlock. Also, add a monitor executor that monitors and logs the stack trace of long-running metadata-store callback tasks. ### Verifying this change - [x] Make sure that the change passes the CI checks. This change is a trivial rework / code cleanup without any test coverage. ### Documentation - [x] `no-need-doc` It is a bug fix in in the internal implementation. No documentation impact. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org