This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-3 in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 46d4aed0f5708f5f3235c2488487838b48c9ee55 Author: Liu Xiao <[email protected]> AuthorDate: Wed Feb 25 22:17:18 2026 +0800 HBASE-29874 Removing the useless parameters from ScanQueryMatcher.isCellTTLExpired (#7720) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Junegunn Choi <[email protected]> (cherry picked from commit e2cfd2c8cfa7689360b161c6f4a7fa3829ed5685) --- .../hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.java index 587b784a7d8..4f6168b1e92 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.java @@ -140,8 +140,7 @@ public abstract class ScanQueryMatcher implements ShipperListener { } /** Returns true if the cell is expired */ - private static boolean isCellTTLExpired(final ExtendedCell cell, final long oldestTimestamp, - final long now) { + private static boolean isCellTTLExpired(final ExtendedCell cell, final long now) { // Look for a TTL tag first. Use it instead of the family setting if // found. If a cell has multiple TTLs, resolve the conflict by using the // first tag encountered. @@ -176,7 +175,7 @@ public abstract class ScanQueryMatcher implements ShipperListener { } // check if the cell is expired by cell TTL - if (isCellTTLExpired(cell, this.oldestUnexpiredTS, this.now)) { + if (isCellTTLExpired(cell, this.now)) { return MatchCode.SKIP; }
