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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.0
    • 0.90.1, 0.92.0
    • regionserver
    • None
    • 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 Kyle Purtell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: