You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Read release policy
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
Pulsar 4.0.1
Minimal reproduce step
Exact steps to reproduce aren't yet confirmed.
This problem was faced in a test. The problem is that there isn't a jstack -l <PID> thread dump of the deadlocked state. I have a heap dump, but since heap dumps don't contain exactly the same information as a thread dump about threads, it's hard to find out the exact reason why the dead lock happens. There are multiple blocked threads which indicates a dead lock:
What did you expect to see?
No dead locks.
What did you see instead?
There are multiple threads in blocked state which indicates a dead lock.
Anything else?
No response
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
I'm planning to first reproduce the issue and then addressing that. One improvement in DrainingHashesTracker is to replace synchronized with the use of a read-write lock.
lhotari
changed the title
[Bug] Potential deadlock in DrainingHashesTracker due to synchronized methods
[Bug] Deadlock in DrainingHashesTracker due to synchronized methods
Jan 15, 2025
Search before asking
Read release policy
Version
Pulsar 4.0.1
Minimal reproduce step
Exact steps to reproduce aren't yet confirmed.
This problem was faced in a test. The problem is that there isn't a
jstack -l <PID>
thread dump of the deadlocked state. I have a heap dump, but since heap dumps don't contain exactly the same information as a thread dump about threads, it's hard to find out the exact reason why the dead lock happens. There are multiple blocked threads which indicates a dead lock:What did you expect to see?
No dead locks.
What did you see instead?
There are multiple threads in blocked state which indicates a dead lock.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: