-
Notifications
You must be signed in to change notification settings - Fork 411
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
Pick getLockByKey to master #8696
Conversation
/hold wait for proxy |
UNUSED(term); | ||
proxy_instance->doApply(kvs, ctx.getTMTContext(), cond, 1, index); | ||
ASSERT_EQ(kvr1->getLockByKey(str_key)->dataSize(), str_lock_value.size()); | ||
} |
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.
Also add a test for getting a lock by non-existent key return nullptr
Co-authored-by: JaySon <tshent@qq.com>
…tics into pick-fn_get_lock_by_key
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
/unhold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/run-all-tests |
What problem does this PR solve?
Issue Number: close #8697
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note