You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yuefeng Wang (Jira)" <ji...@apache.org> on 2021/08/30 12:06:00 UTC

[jira] [Created] (HBASE-26239) Return incorrect result for a scan rpc call when readType switch from pread to stream

Yuefeng Wang created HBASE-26239:
------------------------------------

             Summary: Return incorrect result for a scan rpc call when readType switch from pread to stream
                 Key: HBASE-26239
                 URL: https://issues.apache.org/jira/browse/HBASE-26239
             Project: HBase
          Issue Type: Bug
          Components: scan, Scanners
            Reporter: Yuefeng Wang


Scan's default readType is PREAD, and there is a readType transform from PREAD to STREAM when a long scan is executed. E.G. I ask for result of 'count table', and now it will return immediately before the RPC get real data because of this transform, so the result returned maybe incorrect. Although, we can explicitly use STREAM instead of PREAD to avoid this transform. I am still confused, how can we judge whether transform is called? How can I trust my result is real when we allow transform occur?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)