Skip to content

Commit 9fa55e6

Browse files
committed
HBASE-28055 Performance improvement for scan over several stores.
1 parent 5527dd9 commit 9fa55e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,9 @@ protected boolean trySkipToNextColumn(Cell cell) throws IOException {
935935
// We need this check because it may happen that the new scanner that we get
936936
// during heap.next() is requiring reseek due of fake KV previously generated for
937937
// ROWCOL bloom filter optimization. See HBASE-19863 for more details
938-
if (useRowColBloom && nextCell != null && matcher.compareKeyForNextColumn(nextCell, cell) < 0) {
938+
if (
939+
useRowColBloom && nextCell != null && cell.getTimestamp() == PrivateConstants.OLDEST_TIMESTAMP
940+
) {
939941
return false;
940942
}
941943
return true;

0 commit comments

Comments
 (0)