[
https://issues.apache.org/jira/browse/HBASE-25644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297173#comment-17297173
]
Anoop Sam John commented on HBASE-25644:
----------------------------------------
Pushed to branch-2.2+ branches. Thanks for the quick reviews Duo and Ram.
> Scan#setSmall blindly sets ReadType as PREAD
> --------------------------------------------
>
> Key: HBASE-25644
> URL: https://issues.apache.org/jira/browse/HBASE-25644
> Project: HBase
> Issue Type: Bug
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Priority: Critical
> Labels: phoenix
>
> setSmall(boolean small) takes a boolean param and it might get called with
> false also. But with out considering that, we set read type as PREAD.
> Phoenix clones Scan object and do
> newScan.setSmall(scan.isSmall());
> So this makes ALL types of scans from phoenix as PREAD type now. (Even full
> table scan)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)