Skip to content

*: support to return commit timestamp for Get / BatchGet requests#19103

Merged
ti-chi-bot[bot] merged 2 commits intotikv:feature/active-activefrom
lcwangchao:require_commit_ts
Nov 12, 2025
Merged

*: support to return commit timestamp for Get / BatchGet requests#19103
ti-chi-bot[bot] merged 2 commits intotikv:feature/active-activefrom
lcwangchao:require_commit_ts

Conversation

@lcwangchao
Copy link
Contributor

What is changed and how it works?

Issue Number: Close #19102

What's Changed:

The Get / BatchGet will return the commit_ts for each value if `need_commit_ts` is specified.

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. contribution This PR is from a community contributor. needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Nov 11, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Nov 11, 2025

Hi @lcwangchao. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 11, 2025
@lcwangchao lcwangchao changed the title storage: support need_commit_ts for Get / BatchGet requests *: support need_commit_ts for Get / BatchGet requests Nov 11, 2025
@lcwangchao lcwangchao force-pushed the require_commit_ts branch 2 times, most recently from 40896dd to 98252c3 Compare November 11, 2025 08:42
@lcwangchao lcwangchao changed the title *: support need_commit_ts for Get / BatchGet requests *: support to return commit timestamp for Get / BatchGet requests Nov 11, 2025
@cfzjywxk
Copy link
Collaborator

/ok-to-test

@ti-chi-bot ti-chi-bot bot added ok-to-test Indicates a PR is ready to be tested. and removed needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Nov 11, 2025
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
@lcwangchao
Copy link
Contributor Author

/retest

Copy link
Contributor

@zyguan zyguan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Nov 12, 2025
Copy link
Collaborator

@cfzjywxk cfzjywxk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 12, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Nov 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfzjywxk, zyguan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Nov 12, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-11-12 04:19:37.38393393 +0000 UTC m=+848626.826963809: ☑️ agreed by zyguan.
  • 2025-11-12 04:47:03.624200978 +0000 UTC m=+850273.067230857: ☑️ agreed by cfzjywxk.

@ti-chi-bot ti-chi-bot bot merged commit b98b60f into tikv:feature/active-active Nov 12, 2025
7 checks passed
@lcwangchao lcwangchao deleted the require_commit_ts branch November 12, 2025 04:59
lcwangchao added a commit to lcwangchao/tikv that referenced this pull request Dec 25, 2025
…kv#19103)

close tikv#19102

The Get / BatchGet will return the commit_ts for each value if `need_commit_ts` is specified.

Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
lcwangchao added a commit to lcwangchao/tikv that referenced this pull request Dec 25, 2025
…kv#19103)

close tikv#19102

The Get / BatchGet will return the commit_ts for each value if `need_commit_ts` is specified.

Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved contribution This PR is from a community contributor. dco-signoff: yes Indicates the PR's author has signed the dco. lgtm ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants