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

Block Ref counting does not work in Region Split cases.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      The reference counting on the blocks does not work correctly when the HalfStorefileReader is used for compaction/scans.
      The reason is that getFirstKey and getLastKey API create a new scanner but does not do the needed close() call and because of that we do not decrement the count on the blocks. The same impact will also be observed on the ref count that we maintain on the reader. Issue found when I was trying to test some other feature with lot of evictions.

      Attachments

        1. HBASE-15050_3.patch
          6 kB
          ramkrishna.s.vasudevan
        2. HBASE-15050_2.patch
          2 kB
          ramkrishna.s.vasudevan
        3. HBASE-15050_1.patch
          1 kB
          ramkrishna.s.vasudevan
        4. HBASE-15050.patch
          2 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              ram_krish ramkrishna.s.vasudevan
              ram_krish ramkrishna.s.vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: