Skip to content

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

Merged
ti-chi-bot[bot] merged 5 commits intopingcap:masterfrom
ekexium:feat-resolved-ts-for-large-txn
Sep 24, 2024
Merged

Msg BroadcastTxnStatus; modify Heartbeat for resolved-ts improvement#1265
ti-chi-bot[bot] merged 5 commits intopingcap:masterfrom
ekexium:feat-resolved-ts-for-large-txn

Conversation

@ekexium
Copy link
Member

@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
Member Author

ekexium commented Sep 20, 2024

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.

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

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

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

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
@ti-chi-bot
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

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

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