Skip to content

Commit

Permalink
HBASE-28055 Performance improvement for scan over several stores. (#5379
Browse files Browse the repository at this point in the history
)

Signed-off-by: Ankit Singhal <[email protected]>
Signed-off-by: Tak Lon (Stephen) Wu <[email protected]>
  • Loading branch information
ss77892 authored and taklwu committed Sep 7, 2023
1 parent 637e0dd commit bd8be04
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,9 @@ protected boolean trySkipToNextColumn(Cell cell) throws IOException {
// We need this check because it may happen that the new scanner that we get
// during heap.next() is requiring reseek due of fake KV previously generated for
// ROWCOL bloom filter optimization. See HBASE-19863 for more details
if (useRowColBloom && nextCell != null && matcher.compareKeyForNextColumn(nextCell, cell) < 0) {
if (
useRowColBloom && nextCell != null && cell.getTimestamp() == PrivateConstants.OLDEST_TIMESTAMP
) {
return false;
}
return true;
Expand Down

0 comments on commit bd8be04

Please sign in to comment.