You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "zhengsicheng (Jira)" <ji...@apache.org> on 2020/09/21 11:55:00 UTC

[jira] [Commented] (HBASE-21678) Port HBASE-20636 (Introduce two bloom filter type ROWPREFIX and ROWPREFIX_DELIMITED) to branch-1

    [ https://issues.apache.org/jira/browse/HBASE-21678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199347#comment-17199347 ] 

zhengsicheng commented on HBASE-21678:
--------------------------------------

branch-1 
{code:java}
// code placeholder
org.apache.hadoop.hbase.regionserver.StoreFileScanner.java
@Override
public boolean shouldUseScanner(Scan scan, SortedSet<byte[]> columns, long oldestUnexpiredTS) {
  return reader.passesTimerangeFilter(scan, oldestUnexpiredTS)
      && reader.passesKeyRangeFilter(scan) && reader.passesBloomFilter(scan, columns);
}

org.apache.hadoop.hbase.regionserver.TestRowPrefixBloomFilter.java
HStore store = mock(HStore.class);

boolean exists = scanner.shouldUseScanner(scan, store, Long.MIN_VALUE);

The test failed !
{code}

> Port HBASE-20636 (Introduce two bloom filter type ROWPREFIX and ROWPREFIX_DELIMITED) to branch-1
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21678
>                 URL: https://issues.apache.org/jira/browse/HBASE-21678
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Kyle Purtell
>            Priority: Major
>         Attachments: HBASE-21678-branch-1.patch, HBASE-21678-branch-1.patch, HBASE-21678-branch-1.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)