Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gohbase: modify behavior of scanner.Next()
- In case context expires during scanning, return actual context.Err() instead of io.EOF. This fixes an issue where TableNotFound is returned to client in case context is expired during region lookup. - Get rid of pre-fetching of next results. This can be trivially done by the callers if desired. Change-Id: I89befc64126e9610845c4f8132ebff2dd2fa411d
- Loading branch information
Showing
7 changed files
with
220 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.