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

Zheng Hu commented on HBASE-21206:
----------------------------------

Add some comment in the new patch.v1 to explain the corner case .  As far as I 
know,  only when the scan.nextRaw reach the batch limit and happen to exhaust 
all cells of the scan,  the bug will occur... because  response's result list 
and moreResultsInRegion come from  two scan.nextRaw, it's a inconsistent 
state... Our online hbase user discovered the imcomplete cells, and we took few 
days to locate the bug.....

> Scan with batch size may return incomplete cells
> ------------------------------------------------
>
>                 Key: HBASE-21206
>                 URL: https://issues.apache.org/jira/browse/HBASE-21206
>             Project: HBase
>          Issue Type: Bug
>          Components: scan
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>            Priority: Critical
>             Fix For: 3.0.0, 1.5.0, 1.3.3, 1.2.8, 2.2.0, 1.4.8, 2.1.1, 2.0.3
>
>         Attachments: HBASE-21206.v1.patch, HBASE-21206.v1.patch, ut.patch
>
>
> See the attached UT.  the table has 5 columns and each column has at least 
> one cell in it, but when we scan the table with batchSize=3,  we only got 3 
> cells returned , the other 2 cells got lost ...
> It's a critial bug and should be fixed..



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to