You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Anoop Sam John (Jira)" <ji...@apache.org> on 2021/03/08 04:16:00 UTC

[jira] [Created] (HBASE-25644) Scan#setSmall blindly sets ReadType as PREAD

Anoop Sam John created HBASE-25644:
--------------------------------------

             Summary: 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


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)