Details
Description
As Preston Koprivica pointed out at the tail of HBASE-4394, when all filters in a MUST_PASS_ONE FilterList return a SEEK_USING_NEXT_HINT code, we should return SEEK_NEXT_USING_HINT from the FilterList to utilize the lowest seek value.
This would save unnecessary accesses to blocks which are not in scan result.
A unit test has been added which shows the reduction in the number of blocks accessed when this optimization takes effect.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT
- Resolved