[ https://issues.apache.org/jira/browse/ZOOKEEPER-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949742#comment-13949742 ]
Michi Mutsuzaki commented on ZOOKEEPER-1894: -------------------------------------------- This change in QuorumPeer.java was a part of ZOOKEEPER-1411, which only went in to trunk. The 3.4 branch is not affected. > ObserverTest.testObserver fails consistently > -------------------------------------------- > > Key: ZOOKEEPER-1894 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1894 > Project: ZooKeeper > Issue Type: Bug > Components: quorum > Affects Versions: 3.5.0 > Environment: ubuntu 13.10 > Server environment:java.version=1.7.0_51 > Server environment:java.vendor=Oracle Corporation > Reporter: Michi Mutsuzaki > Assignee: Michi Mutsuzaki > Fix For: 3.4.7, 3.5.0 > > Attachments: TEST-org.apache.zookeeper.test.ObserverTest.txt.gz, > ZOOKEEPER-1894.patch, ZOOKEEPER-1894.patch, ZOOKEEPER-1894.patch > > > ObserverTest.testObserver fails consistently on my box. It looks like the > observer (myid:3) calls QuorumPeer.getQuorumVerifier() in a tight loop, and > the leader (myid:2) is not getting enough CPU time to synchronize with the > follower and the observer. The test passes if I increase > ClientBase.CONNECTION_TIMEOUT from 30 seconds to 120 seconds. I'll attach a > log file. -- This message was sent by Atlassian JIRA (v6.2#6252)