Skip to content

Commit

Permalink
[TISPARK-45] Fix ScanIterator logic where index may be out of bound (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
birdstorm authored and zhexuany committed Jun 1, 2018
1 parent 6590fe1 commit a21ea47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public boolean hasNext() {
if (cacheDrain()) {
if (!loadCache()) {
endOfRegion = true;
return false;
}
}
if (!contains(currentCache.get(index).getKey())) {
Expand Down

0 comments on commit a21ea47

Please sign in to comment.