coprocessor: support return _tidb_commit_ts column for TableScan coprocessor request#19166
Conversation
|
Hi @tiancaiamao. Thanks for your PR. I'm waiting for a tikv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
…quest Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
11da24a to
f92227c
Compare
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
/ok-to-test |
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
/hold |
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
/retest |
|
/unhold |
|
I use codex to review this code, it seems no obvious bug for this PR
|
| columns[*idx] | ||
| .mut_decoded() | ||
| .push_int(Some(ts.into_inner() as i64)); | ||
| self.is_column_filled[*idx] = true; |
There was a problem hiding this comment.
Could we return an error when EXTRA_COMMIT_TS_COL_ID but commit_ts is None? I think it is unexpected
| assert_eq!(result, expect, "expect {:?}, but got {:?}", expect, result); | ||
|
|
||
| // cover load commit ts | ||
| let mut scanner1 = snapshot_store |
There was a problem hiding this comment.
Could we also add some tests to test access_locks should be ignored when requiring commit ts?
| columns[*idx] | ||
| .mut_decoded() | ||
| .push_int(Some(ts.into_inner() as i64)); | ||
| self.is_column_filled[*idx] = true; |
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
LGTM |
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfzjywxk, ekexium 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 |
…ocessor request (tikv#19166) close pingcap/tidb#64949 coprocessor: support return _tidb_commit_ts column for TableScan coprocessor request Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
…ocessor request (tikv#19166) close pingcap/tidb#64949 coprocessor: support return _tidb_commit_ts column for TableScan coprocessor request Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
What is changed and how it works?
Issue Number: close pingcap/tidb#64949
What's Changed:
KVPairtoKvPairEntryto include the commit ts informationload_commit_tsfrom top side download_commit_ts = trueto get the extra commit ts, fill data to that_tidb_commit_tscolumnRelated changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note