ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1271

testEarlyLeaderAbandonment failing on solaris - clients not retrying connection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.4.0, 3.5.0
    • Fix Version/s: 3.3.4, 3.4.0, 3.5.0
    • Component/s: java client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      See:
      https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch34_solaris/1/testReport/junit/org.apache.zookeeper.server.quorum/QuorumPeerMainTest/testEarlyLeaderAbandonment/

      Notice that the clients attempt to connect before the servers have bound, then 30 seconds later, after seemingly no further client activity we see:

      2011-10-28 21:40:56,828 [myid:] - INFO [main-SendThread(localhost:11227):ClientCnxn$SendThread@1057] - Client session timed out, have not heard from server in 30032ms for sessionid 0x0, closing socket connection and attempting reconnect

      I believe this is different from ZOOKEEPER-1270 because in the 1270 case it seems like the clients are attempting to connect but the servers are not accepting (notice the stat commands are being dropped due to no server running)

      1. ZOOKEEPER-1271-3.3.patch
        0.5 kB
        Mahadev konar
      2. ZOOKEEPER-1271-trunk.patch
        6 kB
        Mahadev konar
      3. ZOOKEEPER-1271-3.4.patch
        6 kB
        Mahadev konar
      4. ZOOKEEPER-1271.patch
        6 kB
        Mahadev konar
      5. ZOOKEEPER-1271.patch
        0.5 kB
        Mahadev konar
      6. solarisClientFailure.txt.gz
        31 kB
        Patrick Hunt

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Mahadev konar
              Reporter:
              Patrick Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development