Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-673

BlockReceiver#PacketResponder should not remove a packet from the ack queue before its ack is sent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.21.0
    • datanode
    • None
    • Reviewed

    Description

      After a BlockReceiver finish receiving the last packet of a block, it waits until the ack queue becomes empty. It them assumes that all acks have been sent and shunts down network connections. The current code removes a packet from the ack queue before its ack is sent. So there is a chance that the connection gets closed before an ack is sent.

      Attachments

        1. pkgRmOrder.patch
          3 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: