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

RAMQueueEntry#writeToCache should freeBlock if any exception encountered instead of the IOException catch block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 1.5.0, 2.2.0, 2.0.6, 2.1.5
    • None
    • None
    • Reviewed

    Description

      When preparing patch for HBASE-22159, I found that if thrown an AssertionError in RAMQueueEntry#writeToCache, the bucketAllocator won't free its memory.
      This is an memory leak bug, and should be fixed in almost all 2.x branches. will also check branch-1.x

      Attachments

        Issue Links

          Activity

            People

              openinx Zheng Hu
              openinx Zheng Hu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: