Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-844

Support timeout for client blocking api (Netty)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • client
    • None

    Description

      While running a Netty cluster, RaftClient is blocked after it submits a request to the leader which is partitioned from the cluster.

      The attached test reproduces the problem. In the test, after the client connects to the leader, the leader is disconnected and another node is elected as the new leader. However, the client waits indefinitely for a reply from the previous one.

      The test passes for Grpc and HadoopRpc, but fails with TestTimedOutException for Netty.

      Attachments

        1. RATIS-844.001.patch
          2 kB
          Burcu Ozkan
        2. RATIS-844.002.patch
          8 kB
          Burcu Ozkan
        3. RATIS-844.003.patch
          10 kB
          Burcu Ozkan

        Activity

          People

            Unassigned Unassigned
            burcukozkan Burcu Ozkan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: