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

Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement #1265

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

ekexium
Copy link
Contributor

@ekexium ekexium commented Sep 5, 2024

Part of tikv/tikv#17459

  1. Introduce a new message type BroadcastTxnStatus
  2. Modify Heartbeat message: it now carries a min_commit_ts field.

Signed-off-by: ekexium <eke@fastmail.com>
@ti-chi-bot ti-chi-bot bot requested a review from nolouch September 5, 2024 11:11
@ti-chi-bot ti-chi-bot bot added the size/XXL label Sep 5, 2024
@ekexium ekexium changed the title Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement [WIP] Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Sep 5, 2024
Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: ekexium <eke@fastmail.com>
@ekexium ekexium force-pushed the feat-resolved-ts-for-large-txn branch from 8aa6ab5 to cc0810e Compare September 18, 2024 10:31
@ekexium ekexium changed the title [WIP] Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Sep 19, 2024
Copy link
Contributor

@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

@ekexium ekexium changed the title Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement [DNM] Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Sep 20, 2024
@ekexium
Copy link
Contributor Author

ekexium commented Sep 20, 2024

Copy link

@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.

Not sure why pkg/configpb/configpb.pb.gw.go and scripts/proto.lock change a lot...

@@ -139,6 +139,8 @@ service Tikv {

/// Get health feedback info from the TiKV node.
rpc GetHealthFeedback(kvrpcpb.GetHealthFeedbackRequest) returns (kvrpcpb.GetHealthFeedbackResponse) {}

rpc BroadcastTxnStatus(kvrpcpb.BroadcastTxnStatusRequest) returns (kvrpcpb.BroadcastTxnStatusResponse) {}
Copy link

Choose a reason for hiding this comment

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

Better to add a doc comment for the RPC.

Signed-off-by: ekexium <eke@fastmail.com>
@ti-chi-bot ti-chi-bot bot added the lgtm label Sep 24, 2024
Copy link

ti-chi-bot bot commented Sep 24, 2024

[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

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

Copy link

ti-chi-bot bot commented Sep 24, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-20 06:56:37.210374375 +0000 UTC m=+1203466.950798310: ☑️ agreed by cfzjywxk.
  • 2024-09-24 07:55:48.122243261 +0000 UTC m=+1552617.862667201: ☑️ agreed by zyguan.

@ti-chi-bot ti-chi-bot bot merged commit 4a3e17f into pingcap:master Sep 24, 2024
5 checks passed
@ekexium ekexium changed the title [DNM] Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants