Skip to content

Conversation

@pingyu
Copy link
Collaborator

@pingyu pingyu commented Jan 21, 2026

Changes

  • Publicly re-export protobuf-generated types from the crate to provide a stable, ergonomic API surface.
  • Update internal function signatures to use the re-exported type names.
  • Adjust From/conversion implementations to match the new public type names.
  • No behavioral or wire-format changes; underlying protobuf types remain the same.

Signed-off-by: Ping Yu <yuping@pingcap.com>
@ti-chi-bot ti-chi-bot bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 21, 2026
Signed-off-by: Ping Yu <yuping@pingcap.com>
Signed-off-by: Ping Yu <yuping@pingcap.com>
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 22, 2026
@pingyu pingyu changed the title transaction: Re-export kvrpcpb::LockInfo for scan_locks/resolve_locks *: Re-export protobuf types and align internal APIs Jan 22, 2026
@pingyu pingyu changed the title *: Re-export protobuf types and align internal APIs *: Re-export protobuf types (LockInfo, Error, and KeyError) Jan 22, 2026
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Jan 22, 2026
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jan 22, 2026
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jan 22, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coocood, YuJuncen

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 Jan 22, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-01-22 02:08:40.614554438 +0000 UTC m=+632548.228511304: ☑️ agreed by coocood.
  • 2026-01-22 02:58:09.474453616 +0000 UTC m=+635517.088410462: ☑️ agreed by YuJuncen.

@ti-chi-bot ti-chi-bot bot merged commit 9d9b680 into tikv:master Jan 22, 2026
7 checks passed
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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants