Skip to content

Commit 4c1fd0d

Browse files
ss77892taklwu
authored andcommitted
HBASE-28055 Performance improvement for scan over several stores. (#5379)
Signed-off-by: Ankit Singhal <ankit@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
1 parent c1e5a55 commit 4c1fd0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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
@@ -913,7 +913,9 @@ protected boolean trySkipToNextColumn(Cell cell) throws IOException {
913913
// We need this check because it may happen that the new scanner that we get
914914
// during heap.next() is requiring reseek due of fake KV previously generated for
915915
// ROWCOL bloom filter optimization. See HBASE-19863 for more details
916-
if (useRowColBloom && nextCell != null && matcher.compareKeyForNextColumn(nextCell, cell) < 0) {
916+
if (
917+
useRowColBloom && nextCell != null && cell.getTimestamp() == PrivateConstants.OLDEST_TIMESTAMP
918+
) {
917919
return false;
918920
}
919921
return true;

0 commit comments

Comments
 (0)