zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maoling <...@git.apache.org>
Subject [GitHub] zookeeper issue #247: ZOOKEEPER-2778: Potential server deadlock between foll...
Date Mon, 05 Nov 2018 02:52:07 GMT
Github user maoling commented on the issue:

    if `getElectionAddress` method doesn't need a lock,then the deadlock will be fixed by
the light of nature.
    but lots of methods in the `QuorumPeer` `synchronized (QV_LOCK)` which cause other potential
    I am wathching the logic in the `ZOOKEEPER-2080` to find a better way to process with
`QV_LOCK` lock
    BTW:find a [blog](http://www.javacreed.com/what-is-deadlock-and-how-to-prevent-it/) which
provides us some innovative way to prevent the deadlock.


View raw message