GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/247
Potential server deadlock between follower sync with leader and follower receiving external connection requests. Remove synchronization requirements on certain methods to prevent dead lock. Current analysis indicates these methods don't require synchronization for them to work properly. Patch is stress tested with 1k runs of entire unit test suites. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hanm/zookeeper ZOOKEEPER-2778 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/247.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #247 ---- commit 4453ab2a32f8b1a6d195a65c5466c1749bbb3464 Author: Michael Han <h...@apache.org> Date: 2017-05-06T05:13:26Z Potential server deadlock between follower sync with leader and follower receiving external connection requests. Remove synchronization requirements on certain methods to prevent dead lock. Current analysis indicates these methods don't require synchronization for them to work properly. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---