Skip to content
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

txnkv/transaction/prewrite: tiny refactor HandleSingleBatch #1529

Merged
merged 10 commits into from
Jan 15, 2025

Conversation

AndreMouche
Copy link
Member

Do some tiny refactor for handleSingleBatch
Extracted some functions to make more friendly to reviewers and maintainers, meanwhile make the unit testing easier to write too

@ti-chi-bot ti-chi-bot bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 18, 2024
Signed-off-by: AndreMouche <[email protected]>
txnkv/transaction/prewrite.go Show resolved Hide resolved
txnkv/transaction/prewrite.go Outdated Show resolved Hide resolved
txnkv/transaction/prewrite.go Outdated Show resolved Hide resolved
txnkv/transaction/prewrite.go Outdated Show resolved Hide resolved
Signed-off-by: AndreMouche <[email protected]>
Signed-off-by: AndreMouche <[email protected]>
Signed-off-by: AndreMouche <[email protected]>
Signed-off-by: AndreMouche <[email protected]>
Signed-off-by: AndreMouche <[email protected]>
Signed-off-by: AndreMouche <[email protected]>
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Jan 6, 2025
@cfzjywxk cfzjywxk added the require-LGT3 Indicates that the PR requires three LGTM. label Jan 15, 2025
@ti-chi-bot ti-chi-bot bot added the lgtm label Jan 15, 2025
Copy link

ti-chi-bot bot commented Jan 15, 2025

[APPROVALNOTIFIER] This PR is APPROVED

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

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jan 15, 2025
Copy link

ti-chi-bot bot commented Jan 15, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-06 08:07:30.243978352 +0000 UTC m=+168193.532810059: ☑️ agreed by you06.
  • 2025-01-15 12:19:04.997360312 +0000 UTC m=+121016.452406462: ☑️ agreed by cfzjywxk.

@ti-chi-bot ti-chi-bot bot merged commit d22ee91 into master Jan 15, 2025
11 checks passed
@ti-chi-bot ti-chi-bot bot deleted the handleSingleBatch branch January 15, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm require-LGT3 Indicates that the PR requires three LGTM. 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