Ghostferry should abort if it sees a DDL command that can compromise data integrity

Open
#318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
databases

Research direction

Start by tracing Ghostferry's binlog handling for DDL commands. Review how schema changes are currently recognized and determine which unsupported commands must cause an abort. Done means unsafe schema changes are rejected without compromising data integrity, with the remaining forbidden commands identified and agreed.

Written by the indexing model from the issue text.

Description

For the time being, Ghostferry should abort on DDL commands that it sees in the binlog if it cannot handle it safely. For the time being, this includes all schema changes. Other commands need also to be identified on a case by case basis. We should use this issue to discuss which ones we should forbid.

Dominant language
Go
Stars
858
Forks
77
Avg merge
10d 4h
Merged PRs (30d)
4

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from Shopify/ghostferry

All issues in Shopify/ghostferry

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.