Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-279

RPC fails if it is sent exactly as the keepalive timeout expires

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • M4
    • None
    • rpc
    • None

    Description

      Currently, the server is responsible for timing out RPC keepalive connections. This means that there can be a race where a client sends an RPC exactly at the same time that the server is about to close the connection due to keepalive. In this case, the client gets a "Connection reset by peer" trying to read its response, and the RPC fails.

      I've seen this cause a failure of linked_list-test once.

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: