Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18199

Race in NettyRpcConnection may cause call stuck in BufferCallBeforeInitHandler forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 1.4.0, 2.0.0-alpha-1
    • 1.4.0, 2.0.0-alpha-2, 2.0.0
    • IPC/RPC
    • None
    • Reviewed

    Description

      Found this when implementing the POC of HDFS-9924.

      The problem is that channel.writeAndFlush will find the first outbound handler before scheduling the actual write task into event loop, so it is possible that when we actually execute the write task, the first outbound handler has already been changed but the task still refers to the old handler which has already been removed.

      Attachments

        1. HBASE-18199-v1.patch
          6 kB
          Duo Zhang
        2. HBASE-18199.patch
          6 kB
          Duo Zhang

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: