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

InclusiveStopFilter does not respect reverse Filter property

    XMLWordPrintableJSON

Details

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

    Description

      InclusiveStopFilter only works with non-reversed Scans, it will not filter for reversed Scans, because it doesn't flip the cmp-operand in the reversed case. In fact, it doesn't even use the Filter.reverse flag.

      it should be something like this:

      if (reversed) {
      if (cmp > 0)

      { done = true; }
      }
      else {
      if (cmp < 0) { done = true; }

      }

      Attachments

        1. HBASE-15247.patch
          3 kB
          Amal Joshy
        2. HBASE-15247-branch-1.1.patch
          2 kB
          Amal Joshy

        Activity

          People

            Amal Joshy Amal Joshy
            RPCMoritz Rick Moritz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: