lhotari opened a new issue, #23952: URL: https://github.com/apache/pulsar/issues/23952
### Search before asking - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Read release policy - [x] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker. ### Version master branch ### Minimal reproduce step No steps to reproduce, faced in tests ``` Found one Java-level deadlock: ============================= "main": waiting to lock monitor 0x00007fd520fe6f10 (object 0x000010003425f350, a org.apache.pulsar.broker.service.persistent.PersistentSubscrip tion), which is held by "PulsarTestContext-executor-OrderedExecutor-0-0" "PulsarTestContext-executor-OrderedExecutor-0-0": waiting to lock monitor 0x00007fd4f400dd00 (object 0x000010003425fd70, a org.apache.pulsar.broker.service.persistent.PersistentDispatch erSingleActiveConsumer), which is held by "broker-topic-workers-OrderedExecutor-0-0" "broker-topic-workers-OrderedExecutor-0-0": waiting to lock monitor 0x00007fd7a406f4a0 (object 0x000010003427f678, a org.apache.bookkeeper.mledger.impl.cache.PendingReadsManager$PendingRead), which is held by "PulsarTestContext-executor-OrderedExecutor-0-0" ``` dead lock details: https://gist.github.com/lhotari/135bb1a5a045d00c19cf374fca1ff8f7#file-threaddump15633_2025-02-08_00-txt-L1327-L1542 full thread dump: https://gist.github.com/lhotari/135bb1a5a045d00c19cf374fca1ff8f7 analysis: https://jstack.review/?https://gist.github.com/lhotari/135bb1a5a045d00c19cf374fca1ff8f7 ### What did you expect to see? no deadlocks ### What did you see instead? there was a deadlock in closing PulsarService ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
