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

Low refCount preventing archival of compacted away files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 3.0.0-alpha-1, 2.3.0, 1.6.0
    • None
    • None
    • None

    Description

      We have observed that refCount on compacted away store files as low as 1 is prevent archival.

      regionserver.HStore - Can't archive compacted file hdfs://{{root-dir}}/hbase/data/default/t1/12a9e1112e0371955b3db8d3ebb2d298/cf1/73b72f5ddfce4a34a9e01afe7b83c1f9 because of either isCompactedAway=true or file has reference, isReferencedInReads=true, refCount=1, skipping for now.
      

      We should come up with core code (run as part of discharger thread) gracefully resolve reader lock issue by resetting ongoing scanners to start pointing to new store files instead of compacted away store files.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: