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

Guangxu Cheng commented on HBASE-17831:
---------------------------------------

{quote}
For master branch, have you seen this ?
{code}
@Deprecated
public Scan setSmall(boolean small) {
{code}
{quote}

Sorry, I hadn't noticed.
Small scan should use pread and openScanner,next,closeScanner in one RPC call.
After HBASE-17508 and HBASE-17045, the implementation of small scan and regular 
scan is unified.
regular scan also has one rpc optimization and use pread by 
setReadType(ReadType).
For master branch, setReadType(ReadType) instead of setSmall(small) maybe more 
better, Right?

> Support small scan in thrift2
> -----------------------------
>
>                 Key: HBASE-17831
>                 URL: https://issues.apache.org/jira/browse/HBASE-17831
>             Project: HBase
>          Issue Type: Improvement
>          Components: Thrift
>            Reporter: Guangxu Cheng
>         Attachments: HBASE-17831-branch-1.patch, HBASE-17831-master.patch
>
>
> Support small scan in thrift2



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to