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

For intra-row scanning, the update readers notification resets the query matcher and can lead to incorrect behavior

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.0
    • Fix Version/s: 0.90.1, 0.92.0
    • Component/s: regionserver
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In StoreScanner.resetScannerStack(), which is called on the first next() call after readers have been updated, we do a query matcher reset. Normally this is not an issue because the query matcher does not need to maintain state between rows. However, if doing intra-row scanning w/ the specified limit, we could have the query matcher reset in the middle of reading a row. This could lead to incorrect behavior (too many versions coming back, etc).

        Attachments

        1. HBASE-3416.patch
          1 kB
          Andrew Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Purtell
              Reporter:
              streamy Jonathan Gray
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: