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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: regionserver, Scanners
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: