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

Increment operations can break when qualifiers are split between memstore/snapshot and storefiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0, 0.92.0
    • regionserver
    • None
    • Reviewed

    Description

      Doing investigation around some observed resetting counter behavior.

      An optimization was added to check memstore/snapshots first and then check storefiles if not all counters were found. However it looks like this introduced a bug when columns for a given row/family in a single increment operation are spread across memstores and storefiles.

      The results from get operations on both memstores and storefiles are appended together but when processed are expected to be fully sorted. This can lead to invalid results.

      Need to sort the combined result of memstores + storefiles.

      Attachments

        1. HBASE-3418-v1.patch
          5 kB
          Jonathan Gray

        Activity

          People

            streamy Jonathan Gray
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: