Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11339 HBase MOB
  3. HBASE-13836

Do not reset the mvcc for bulk loaded mob reference cells in reading

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-11339
    • hbase-11339, 2.0.0
    • mob
    • None
    • Reviewed

    Description

      Now in scanner, the cells mvcc of the bulk loaded files are reset by the seqId parsed from the file name. We need to skip this if the hfiles are bulkloaded in mob compactions.
      In mob compaction, the bulk loaded ref cell might not be the latest cell among the ones that have the same row key. In reading, the mvcc is reset by the largest one, it will cover the real latest ref cell. We have to skip the resetting in this case.
      The solution is we add a new field to fileinfo, when this field is set as true, we skip the resetting.

      Attachments

        1. HBASE-13836.diff
          9 kB
          Jingcheng Du
        2. HBASE-13836-V2.diff
          9 kB
          Jingcheng Du
        3. HBASE-13836-V3.diff
          10 kB
          Jingcheng Du

        Activity

          People

            jingcheng.du@intel.com Jingcheng Du
            jingcheng.du@intel.com Jingcheng Du
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: