-
Notifications
You must be signed in to change notification settings - Fork 118
Add CompareAndSet for RawClient and make Get returns Optional #192
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
Conversation
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
src/main/java/org/tikv/common/exception/RawCASConflictException.java
Outdated
Show resolved
Hide resolved
marsishandsome
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.
@birdstorm @Little-Wallace this PR changes the public API. I'm wondering whether the compatibility problem will affect users?
|
@andylokandy I don't think removing |
Signed-off-by: Andy Lok <andylokandy@hotmail.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
/run-all-tests |
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
marsishandsome
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.
other LGTM
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
marsishandsome
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
|
@birdstorm PTAL |
birdstorm
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 |
|
@andylokandy merge failed. |
|
@andylokandy test failed |
|
@andylokandy why use the funciton name |
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
/run-all-tests |
tisonkun
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.
Thanks for your updates @andylokandy ! I left an inline comment on testing part. PTAL.
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
/run-all-tests |
tisonkun
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.
Generally LGTM. Thanks for your effort!
You may miss the comment https://github.com/tikv/client-java/pull/192/files#r653291717 .
|
@tisonkun, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. You are not a reviewer or committer or co-leader or leader. |
|
@andylokandy @marsishandsome test failed. Is it due to the test infra settings not upgrade? |
cas is supported in |
What is changed and how it works?
putIfAbsentCompareAndSetCheck List
Tests
Code changes
Related changes