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

Anoop Sam John commented on HBASE-25644:
----------------------------------------

Master still having setSmall and so I have added the fix.

> 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)

Reply via email to