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

ObserverTest.testObserver fails consistently

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: quorum
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              michim Michi Mutsuzaki
              Reporter:
              michim Michi Mutsuzaki
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: