-
Notifications
You must be signed in to change notification settings - Fork 709
add troubleshoot doc for TiCDC #2615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Anastasia-Lu
wants to merge
9
commits into
pingcap:master
from
Anastasia-Lu:new-branch-troubleshootforTiCDC
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
898b56d
finish the translation before the third subtitle
Anastasia-Lu 1b74c48
Update troubleshoot-ticdc.md
Anastasia-Lu cb7ed0c
Update troubleshoot-ticdc.md
Anastasia-Lu c6e2898
Update troubleshoot-ticdc.md
Anastasia-Lu c32fc01
Update troubleshoot-ticdc.md
Anastasia-Lu 01abcdc
Update troubleshoot-ticdc.md
Anastasia-Lu a33552e
correct grammar mistakes
Anastasia-Lu 9194473
Merge branch 'master' into new-branch-troubleshootforTiCDC
Anastasia-Lu 27360b8
Merge branch 'master' into new-branch-troubleshootforTiCDC
Anastasia-Lu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,22 @@ | ||||||
| --- | ||||||
| title: Common Problems and Troubleshooting | ||||||
| summary: Fix common problems while using TiCDC. | ||||||
| category: reference | ||||||
| --- | ||||||
|
|
||||||
| # Common Problems and Troubleshooting | ||||||
|
|
||||||
| This document includes some common problems that you might have while using TiCDC and provides appropriate solutions. It also summarizes some common operation failures and ways to fix them. | ||||||
|
|
||||||
| ## How to choose start-ts while starting a task | ||||||
|
|
||||||
| First, you need to know that the `start-ts` of a replication task corresponds to a TSO of the upstream TiDB cluster. The replication task will start its data request from this TSO. Therefore, the `start-ts` should meet two conditions below: | ||||||
|
|
||||||
| - The value of `start-ts` must be larger than current `tikv_gc_safe_point`, otherwise, an error would occur when creating the task. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| - While starting a task, you need to ensure that the downstream has already got all the data previous to `start-ts`. You can relax this requirement accordingly, if the replication task is for message queue or other scenarios, in which strict data consistency between upstream and downstream is not strictly required. | ||||||
|
|
||||||
| If `start-ts` is not specified or specified as `0`, when a replication task gets started, TiCDC will get the current TSO from PD and start to replicate data from it. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ## When a task gets started, it prompts that some tables cannot be replicated | ||||||
|
|
||||||
| When you use `cdc cli changefeed create` to create a replication task, TiCDC will check if the upstream tables comply with the [restrictions](/ticdc/ticdc-overview.md#restrictions). If they don't, TiCDC will prompt that `some tables are not eligible to replicate`, and will list out the ineligible tables. If you choose `Y` or `y`, TiCDC will continue creating the replication task and automatically ignore all the updates of these ineligible tables. If you choose other inputs, the replication task will not be created. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.