Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
org.apache.hadoop.hbase.filter.FilterListWithAND.filterRowKey(Cell) will return true if ANY of the filters returns true for Filter#filterRowKey().
However, the SEEK_NEXT_USING_HINT mechanism relies on filterRowKey() returning false, so that filterCell() can return SEEK_NEXT_USING_HINT.
If none of the filters matches, but one of them returns true for filterRowKey(), then the filter(s) that returned false, so that they can return SEEK_NEXT_USING_HINT in filterCell() never get a chance to return SEEK_NEXT_USING_HINT, and instead of seeking to the hint, FilterListWithAND will do very slow full scan.
Attachments
Issue Links
- is related to
-
HBASE-20565 ColumnRangeFilter combined with ColumnPaginationFilter can produce incorrect result since 1.4
- Resolved
- links to