Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1894

ObserverTest.testObserver fails consistently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • quorum
    • None
    • ubuntu 13.10
      Server environment:java.version=1.7.0_51
      Server environment:java.vendor=Oracle Corporation

    Description

      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.

      Attachments

        1. TEST-org.apache.zookeeper.test.ObserverTest.txt.gz
          177 kB
          Michi Mutsuzaki
        2. ZOOKEEPER-1894.patch
          8 kB
          Michi Mutsuzaki
        3. ZOOKEEPER-1894.patch
          9 kB
          Michi Mutsuzaki
        4. ZOOKEEPER-1894.patch
          9 kB
          Michi Mutsuzaki

        Activity

          People

            michim Michi Mutsuzaki
            michim Michi Mutsuzaki
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: