This is an automated email from the ASF dual-hosted git repository.
rmattingly pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 9bb276954da HBASE-29103 Avoid excessive allocations during reverse
scanning when seeking to next row (#6643) (#6831)
9bb276954da is described below
commit 9bb276954da02230d980caf0a0fcb871dc7f9d95
Author: jbewing <[email protected]>
AuthorDate: Mon Mar 24 08:27:04 2025 -0400
HBASE-29103 Avoid excessive allocations during reverse scanning when
seeking to next row (#6643) (#6831)
Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Ray Mattingly <[email protected]>
---
.../java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
index 74147f8ec05..f9d3a2ad6b2 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
@@ -490,7 +490,7 @@ public class StoreFileScanner implements KeyValueScanner {
this.cur = null;
return false;
}
- Cell curCell = hfs.getCell();
+ Cell curCell = hfs.getKey();
Cell firstKeyOfPreviousRow =
PrivateCellUtil.createFirstOnRow(curCell);
if (seekCount != null) seekCount.increment();