XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • hdfs-client
    • None

    Description

      During shutdown, it is possible for an RPC task to outlive the RPC connection and segfault when it attempts to signal the engine on timeout.

      In rpc_connection.h, the callback

      req->timer().async_wait(std::bind(
            &RpcConnection::HandleRpcTimeout, this, req, _1));
      

      does not retain a reference to shared_this, so the connection can be destroyed.

      Attachments

        1. HDFS-9687.HDFS-8707.000.diff
          1.0 kB
          Bob Hansen

        Activity

          People

            bobhansen Bob Hansen
            bobhansen Bob Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: