Skip to content
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

Note that GC Disabling is a must despite Dumpling's auto extend feature #16347

Merged
merged 7 commits into from
Feb 8, 2024

Conversation

Tetsuya3850
Copy link
Contributor

What is changed, added or deleted? (Required)

I was reading the guide to migrate from TiDB to MySQL.
The guide advised to disable the GC before Dumpling is run.
However, I read in the Dumpling overview that this is now only necessary in certain conditions in the latest TiDB version.
If this section was potentially not up to date with that, I thought it will be nicer to note on that.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v7.6 (TiDB 7.6 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.4 (TiDB 7.4 versions)
  • v7.3 (TiDB 7.3 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)

What is the related PR or file link(s)?

https://docs-archive.pingcap.com/tidb/v7.2/dumpling-overview#manually-set-the-tidb-gc-time
https://docs-archive.pingcap.com/tidb/v7.2/migrate-from-tidb-to-mysql

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added the contribution This PR is from a community contributor. label Jan 28, 2024
Copy link

ti-chi-bot bot commented Jan 28, 2024

Hi @Tetsuya3850. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot bot added needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 28, 2024
@Tetsuya3850
Copy link
Contributor Author

@Oreoxmt Hi! Much appreciated if you can please take a look at your convenience 🙇

@Oreoxmt Oreoxmt added the translation/doing This PR's assignee is translating this PR. label Feb 7, 2024
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Feb 7, 2024
@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Feb 7, 2024

/ok

@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Feb 7, 2024

/ok-to-test

@ti-chi-bot ti-chi-bot bot added ok-to-test Indicates a PR is ready to be tested. and removed needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Feb 7, 2024
@Oreoxmt Oreoxmt added needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-7.6 labels Feb 7, 2024
@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Feb 7, 2024

@wjhuang2016 Could you please help review this change? Thanks!

@lance6716
Copy link
Contributor

Thanks for your contribution!

I think manually disabling GC is a must for this scenario. Dumpling can hold the GC when it is running. But after it has exited and before TiCDC starts, the GC may happen and cause TiCDC failing to read the data in the exact time of full migration snapshot.

@Tetsuya3850
Copy link
Contributor Author

@lance6716
Thank you for your feedback! I understood the necessity now. So, I tried noting that so that people may not try to skip the step with similar misunderstanding as me.

@Tetsuya3850 Tetsuya3850 changed the title Note that GC disable may be skipped for Dumpling Note that GC Disabling is a must despite Dumpling's auto extend feature Feb 8, 2024
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Feb 8, 2024
@Tetsuya3850
Copy link
Contributor Author

@Oreoxmt Thank you for the suggestion! Applied.

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Feb 8, 2024
Copy link

ti-chi-bot bot commented Feb 8, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-02-08 01:51:22.848063363 +0000 UTC m=+408008.414833237: ☑️ agreed by lance6716.
  • 2024-02-08 04:27:43.123895883 +0000 UTC m=+417388.690665772: ☑️ agreed by Oreoxmt.

@Oreoxmt Oreoxmt self-assigned this Feb 8, 2024
migrate-from-tidb-to-mysql.md Outdated Show resolved Hide resolved
@Tetsuya3850
Copy link
Contributor Author

@ran-huang Hi, I applied your suggestion. Thank you!

@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Feb 8, 2024

/approve

Copy link

ti-chi-bot bot commented Feb 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Oreoxmt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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 ti-chi-bot bot added the approved label Feb 8, 2024
@ti-chi-bot ti-chi-bot bot merged commit a1b1c22 into pingcap:master Feb 8, 2024
9 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.6: #16494.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #16495.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved contribution This PR is from a community contributor. lgtm needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. ok-to-test Indicates a PR is ready to be tested. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants