Why is this issue pushed to 3.5.0?
I think I saw the same issue here with 3.3.3:
- locked org.apache.zookeeper.ZooKeeper@26827e
The thread is blocked which impacts other threads then.
My guess is that the network here is not very reliable and therefore we run into this blocking issue.
IMHO, it makes perfect sense to not wait for unlimited time if closing the connection blocks.