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

InclusiveStopFilter does not respect reverse Filter property

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 2.0.0
    • Fix Version/s: 1.3.0, 0.98.18, 2.0.0
    • Component/s: Filters
    • Labels:
      None
    • Hadoop Flags:
      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-branch-1.1.patch
          2 kB
          Amal Joshy
        2. HBASE-15247.patch
          3 kB
          Amal Joshy

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: