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

FilterList with MUST_PASS_ONE optimization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • Filters
    • None
    • Reviewed

    Description

      This JIRA was created to add @Test tag for all the filter related tests. After doing that one such test failed in TestFilterList#testFilterListTwoFiltersMustPassOne.
      The test assumes that when a PrefixFilter is added to a filterlist once the given prefix is passed we should SKIP all other rows. But the impl in FilterList for MUST_PASS_ONE filter is such that once the filter in the list sees that filterAllRemaining is true we don't use that to decide if to to SEE_NEXT_USING_HINT or not. This patch tries to handle that case where if for a filter FilterAllRemaining is true then SEEK_NEXT_USING_HINT need not be done.

      Attachments

        1. HBASE-16303_1.patch
          4 kB
          ramkrishna.s.vasudevan
        2. HBASE-16303_1.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-16303.patch
          3 kB
          ramkrishna.s.vasudevan
        4. HBASE-16303.patch
          3 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: