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

Optimize HStore#getRowKeyAtOrBefore() when exact match is found

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.98.0
    • None
    • None
    • Reviewed

    Description

      Currently HStore#getRowKeyAtOrBefore() iterates through StoreFile's and look for the best match for the passed row.

      When exact match is found, state.getCandidate() can be returned without going through all the StoreFile's

      Attachments

        1. 9654-v1.txt
          1 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: