[
https://issues.apache.org/jira/browse/HBASE-25644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anoop Sam John resolved HBASE-25644.
------------------------------------
Fix Version/s: 2.4.2
2.3.5
2.5.0
2.2.7
3.0.0-alpha-1
Hadoop Flags: Reviewed
Resolution: Fixed
> 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
> Fix For: 3.0.0-alpha-1, 2.2.7, 2.5.0, 2.3.5, 2.4.2
>
>
> 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)