Skip to content

tablemode need RefreshMeta interface to reload tidb schema diff when BR log restore occur exchange partition #60924

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
River2000i opened this issue Apr 29, 2025 · 0 comments · Fixed by #60837
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@River2000i
Copy link
Contributor

River2000i commented Apr 29, 2025

Enhancement

When BR uses Tablemode, which is expected to be set to RestoreMode when full restore batch crate tables, including tables created during log backup. However, if an exchange partition occurs during log backup, the table will still be a partition during full restore. In log restoring, the table ID will exchange with partition ID, which exchange by meta kv directly instead of infoschema, so the table mode cannot be modified for the table(since the new table ID is not store in infoschema).

@River2000i River2000i added the type/enhancement The issue or PR belongs to an enhancement. label Apr 29, 2025
@ti-chi-bot ti-chi-bot bot closed this as completed in 3a767d3 May 15, 2025
River2000i added a commit to River2000i/tidb that referenced this issue Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant