Add CompareAndSet for RawClient and make Get returns Optional#192
Add CompareAndSet for RawClient and make Get returns Optional#192andylokandy merged 14 commits intotikv:masterfrom
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.
@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>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
|
@birdstorm PTAL |
|
/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.
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.
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