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

Fix the thread safety bug in LowRedundancyBlocks

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The remove method in LowRedundancyBlocks is not protected by synchronized. This method is private and is called by BlockManager. As a result, priorityQueues has the risk of being accessed concurrently by multiple threads.

      Attachments

        Activity

          People

            zhangshuyan Shuyan Zhang
            zhangshuyan Shuyan Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: