pingcap / pingcap/tidb-binlog

Add drainer node name column in downstream checkpoint schema

Open
#1,063 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/help-wanted type/enhancement
Dominant language
Go
Stars
291
Forks
131
Avg merge
5m
Merged PRs (30d)
2

Description

Mutil drainer schema replicating to one same downstream, checkpoint table should have a column to label drainer's node name to avoid different drainers' writing conflicts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the downstream checkpoint schema and the drainer write paths to determine where the node name must be stored and used to separate writers. Verify the schema change and checkpoint behavior for multiple drainers targeting one downstream; the payload names no files or tests, so repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.