[
https://issues.apache.org/jira/browse/HBASE-26232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406895#comment-17406895
]
Hudson commented on HBASE-26232:
--------------------------------
Results for branch branch-2
[build #334 on
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/334/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/334/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/334/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/334/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/334/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> SEEK_NEXT_USING_HINT is ignored on reversed Scans
> -------------------------------------------------
>
> Key: HBASE-26232
> URL: https://issues.apache.org/jira/browse/HBASE-26232
> Project: HBase
> Issue Type: Bug
> Components: Filters, scan
> Affects Versions: 3.0.0-alpha-1, 2.4.5
> Environment: Tested, confirmed, and fixed using the in-memory
> mini-cluster on 64-bit Ubuntu. Originally discovered with the in-memory
> mini-cluster on RHEL 7 when writing a custom filter for an unrelated project.
> Reporter: Brian Keyser
> Assignee: Brian Keyser
> Priority: Critical
> Fix For: 2.5.0, 3.0.0-alpha-2, 2.4.6, 2.3.7
>
>
> It turns out that the {{SEEK_NEXT_USING_HINT}} feature is broken for reversed
> scans. That's because the implementation hard-codes an assumption that the
> scan is forward.
> Here's the mistake:
> [https://github.com/keyserbrian1/hbase/blob/735bcf85e9b59a71981babe2f5da51978d61d8d3/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L740|https://github.com/keyserbrian1/hbase/blob/735bcf85e9b59a71981babe2f5da51978d61d8d3/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L740]
> The bug sneaks past the existing tests because the mistake isn't detectable
> by looking at the result of a naive reversed scan.
> Attached is a PR that includes a fix and tests designed to detect if filter
> hints are actually used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)