-
Notifications
You must be signed in to change notification settings - Fork 253
*: support WithReturnCommitTS and SetCommitWaitUntilTSO
#1831
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
close tikv#1795 Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
txnkv: `Get` always return nil value when not found Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
22baae7 to
41ab7c5
Compare
… option (tikv#1810) close pingcap/tidb#64797 Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
41ab7c5 to
8c71548
Compare
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
6645293 to
c5bb4a0
Compare
cfzjywxk
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
|
@tiancaiamao PTAL |
| replace ( | ||
| github.com/go-ldap/ldap/v3 => github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 | ||
| github.com/pingcap/tidb => github.com/lhy1024/tidb v1.1.0-beta.0.20251215110526-59e2c3c2eab3 | ||
| github.com/pingcap/tidb => github.com/lcwangchao/tidb v1.1.0-beta.0.20251229025756-9746aadede81 |
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.
So, client-go integration test is depending on fixed tidb commit, instead of latest?
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.
This dependency is only used for unistore. But we should rely on a personal branch to make sure this integration can be built because the master TiDB does not fit the API change.
|
@tiancaiamao: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfzjywxk, tiancaiamao, zyguan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com> Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
This PR is a cherry-pick for:
*: return commit timestamp for Get / BatchGet if needed #1796
txnkv:
Getalways returnnilvalue when not found #1798txnkv: add SetCommitWaitUntilTSO and SetCommitWaitUntilTSOTimeout txn option #1810
It adds a new option
WithReturnCommitTSforGetandBatchGetto fetch the commit timestamp.It adds a new method
SetCommitWaitUntilTSOwhich indicates the txn should wait for the TSO after the specified timestamp to get a commit ts large enough.It adds a new method
SetCommitWaitUntilTSOTimeoutwhich indicates the timeout for waiting the TSO to be greater than the specifiy ts.