Yuqi Du has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18420


Change subject: [java] Fix a scan bug which will read repetitive rows.
......................................................................

[java] Fix a scan bug which will read repetitive rows.

When isFaultTolerant is true, from 2nd ScanRequest, in its response
callback function, lastPrimaryKey is not updated.

So a very offen very common scenarios,
when leader tserver restart, Scanner will read rows from the first
ScanResponse's lastPrimaryKey(), that will return some repetitive rows.

Change-Id: I4d6be9df10c1a45cd971b52a0351028c1f5a023f
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduScanner.java
M 
java/kudu-client/src/main/java/org/apache/kudu/client/RowErrorsAndOverflowStatus.java
M 
java/kudu-client/src/test/java/org/apache/kudu/client/ITFaultTolerantScanner.java
M 
java/kudu-client/src/test/java/org/apache/kudu/client/ITScannerMultiTablet.java
4 files changed, 171 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/18420/1
--
To view, visit http://gerrit.cloudera.org:8080/18420
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d6be9df10c1a45cd971b52a0351028c1f5a023f
Gerrit-Change-Number: 18420
Gerrit-PatchSet: 1
Gerrit-Owner: Yuqi Du <shenxingwuy...@gmail.com>

Reply via email to