Skip to content

cdcpb: add CDC scan priority#1493

Draft
hongyunyan wants to merge 1 commit into
masterfrom
codex/cdc-scan-priority-protocol
Draft

cdcpb: add CDC scan priority#1493
hongyunyan wants to merge 1 commit into
masterfrom
codex/cdc-scan-priority-protocol

Conversation

@hongyunyan

Copy link
Copy Markdown

Background

TiCDC needs to tell downstream CDC services whether an initial scan belongs to a newly created changefeed or to an existing changefeed repair path.

Motivation

Without an explicit priority in ChangeDataRequest, downstream services cannot distinguish low-priority bootstrap scans from high-priority scans that protect existing changefeed lag.

Summary

  • Add ScanPriority to cdcpb.
  • Add ChangeDataRequest.scan_priority.
  • Add ChangeDataRequest.changefeed_id for debugging and observability.
  • Regenerate Go bindings and update the proto lock file.

Validation

  • make check
  • go test ./pkg/cdcpb

@ti-chi-bot

ti-chi-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign overvenus for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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

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.

1 participant