Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11425 Cell/DBB end-to-end on the read-path
  3. HBASE-16651

LRUBlockCache#returnBlock should try return block to Victim Handler L2 cache.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • regionserver, Scanners
    • None
    • Reviewed

    Description

      In case of L1 and L2 cache usage with combinedMode = false, L2 is used as a victim handler cache for L1 cache. When a getBlock() request comes, L1 will see if block is in it and if not it will try to provide the block from L2 cache. In such a case, the return block must return the block to L2 cache and count down the ref count for the block. But right now we just ignore the returnBlock call in LRUCache

      Attachments

        1. HBASE-16651.patch
          2 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: