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

HBASE-10141 and MIN_VERSIONS are not compatible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.8, 0.99.2
    • None
    • None
    • Reviewed

    Description

      HBASE-10141 is a good optimization, eliminating the need to scan already expired files (through TTL). However, I think if MIN_VERSIONS is set, it will not ensure that there will be at least that many versions since it bypasses the scan layer.

      I think we can just do a simple check before the HBASE-10141 optimization to see whether MIN_VERSIONS is set for the table, and if so just do the regular old way of doing the scan in the compaction.

      Attachments

        1. 12478-0.98.patch
          3 kB
          Ted Yu
        2. 12478-v1.txt
          0.8 kB
          Ted Yu
        3. 12478-v2.txt
          3 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: