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

Andrew Purtell commented on HBASE-13262:
----------------------------------------

{quote}
bq. Just a note: NextState was introduced with HBASE-11544 which has only been 
backported to branch-1+ at this point. Since this issue appears in branch-1.0+, 
returning the NextState$State enum would require backporting that feature 
further.
Oh, thank you for making me aware of this. I haven't been paying close enough 
attention to have noticed this on my own.
{quote}

I don't like the implication that scanning only works in 0.98 by happy accident 
of KeyValue size estimation. I'm inclined to make a solution that comes out of 
this discussion a blocker for the next release. 

I think we can backport NextState. Additions to protobuf messages are 
compatible. Older clients won't understand them, and would by definition carry 
on with the older logic. Older servers won't send them, so newer clients would 
also have to fall back. We can have compensating code for these cases in the 
client.  Newer clients talking to newer servers won't risk missing data in edge 
cases now or going forward. Newer 0.98 clients talking with 1.0+ servers also 
would be in great shape. Am I missing anything?

> ResultScanner doesn't return all rows in Scan
> ---------------------------------------------
>
>                 Key: HBASE-13262
>                 URL: https://issues.apache.org/jira/browse/HBASE-13262
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.0, 1.1.0
>         Environment: Single node, pseduo-distributed 1.1.0-SNAPSHOT
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: testrun_0.98.txt, testrun_branch1.0.txt
>
>
> Tried to write a simple Java client again 1.1.0-SNAPSHOT.
> * Write 1M rows, each row with 1 family, and 10 qualifiers (values [0-9]), 
> for a total of 10M cells written
> * Read back the data from the table, ensure I saw 10M cells
> Running it against {{04ac1891}} (and earlier) yesterday, I would get ~20% of 
> the actual rows. Running against 1.0.0, returns all 10M records as expected.
> [Code I was 
> running|https://github.com/joshelser/hbase-hwhat/blob/master/src/main/java/hbase/HBaseTest.java]
>  for the curious.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to