[
https://issues.apache.org/jira/browse/HBASE-22710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961045#comment-16961045
]
Duo Zhang commented on HBASE-22710:
-----------------------------------
I think the problem described in HBASE-21596 has been resolved by new version
behavior? See HBASE-15968 [~wchevreuil]. Thanks.
And for the maxVersionToCheck , if we have filter, then we should check for all
the available versions because we may filter out some cells. And do we support
filter on raw scan? It will introduce strange behavior as for raw scan, the
return value will have delete marker...
> Wrong result in one case of scan that use raw and versions and filter
> together
> -------------------------------------------------------------------------------
>
> Key: HBASE-22710
> URL: https://issues.apache.org/jira/browse/HBASE-22710
> Project: HBase
> Issue Type: Bug
> Components: Scanners
> Affects Versions: 2.0.0
> Reporter: Zheng Wang
> Assignee: Zheng Wang
> Priority: Major
>
> create 'testScanRaw',\{NAME => 'f', VERSIONS => 1}
>
> put 'testScanRaw','r1','f:q','1'
> put 'testScanRaw','r1','f:q','2'
> put 'testScanRaw','r1','f:q','3'
>
> hbase(main):005:0> scan 'testScanRaw',\{RAW => true, STARTROW => 'r1',
> STOPROW=>'r1',VERSIONS=>2}
> ROW COLUMN+CELL
> r1 column=f:q, timestamp=1563430154757, value=3
> r1 column=f:q, timestamp=1563430153120, value=2
>
> hbase(main):006:0> scan 'testScanRaw',\{RAW => true, STARTROW => 'r1',
> STOPROW=>'r1',VERSIONS=>2,FILTER => "(QualifierFilter (=, 'binary:q'))"}
> ROW COLUMN+CELL
> r1 column=f:q, timestamp=1563430154757, value=3
>
> BTW,the result is right in hbase1.2.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)