-
Notifications
You must be signed in to change notification settings - Fork 118
[close #540] rawkv: fix scan return empty set while exist empty key (#541) #546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[close #540] rawkv: fix scan return empty set while exist empty key (#541) #546
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
/run-all-tests |
iosmanthus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
zz-jason
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/merge |
|
/run-all-tests |
|
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## release-3.2 #546 +/- ##
==============================================
Coverage ? 30.74%
Complexity ? 1280
==============================================
Files ? 278
Lines ? 17344
Branches ? 1975
==============================================
Hits ? 5333
Misses ? 11434
Partials ? 577 Continue to review full report at Codecov.
|
cherry-pick #541 to release-3.2
You can switch your code base to this Pull Request by using git-extras:
# In client-java repo: git pr https://github.com/tikv/client-java/pull/546After apply modifications, you can push your change to this PR via:
Signed-off-by: iosmanthus myosmanthustree@gmail.com
What problem does this PR solve?
Issue Number: close #540
Problem Description:
This pull request adds an empty key check for
RawScanIterator.hasNext, otherwise, if there is an empty key in TiKV, the scan will always return an empty set.Check List for Tests
This PR has been tested by at least one of the following methods: