tidb
tidb copied to clipboard
lightning: Fix panic when downstream table schema has changed
What problem does this PR solve?
Issue Number: close #34163
Problem Summary:
What is changed and how it works?
Throw an error instead of panic.
Check List
Tests
- [ ] Unit test
- [ ] Integration test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No code
Side effects
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility
Documentation
- [ ] Affects user behaviors
- [ ] Contains syntax changes
- [ ] Contains variable changes
- [ ] Contains experimental features
- [ ] Changes MySQL compatibility
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
None
[REVIEW NOTIFICATION]
This pull request has been approved by:
- D3Hunter
- gozssky
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer
in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer
in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
/run-mysql-test
/run-mysql-test
/cc @D3Hunter
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/f3a1221f88a92127a4401da1e06746206236778c
/run-build
/rebuild
/rebuild
/rebuild
/run-check_dev
/cc @gozssky
/run-all-tests
/rebuild
/run-check_dev
LGTM
@XuHuaiyu @ekexium PTAL about codec changes
/rebuild
/run-check_dev
/run-mysql-test
/run-mysql-test
/run-mysql-test
/run-unit-test
/run-integration-br-test
/cc @buchuitoudegou @dsdashun
ci pass, merged https://ci.pingcap.net/blue/organizations/jenkins/br_ghpr_unit_and_integration_test/detail/br_ghpr_unit_and_integration_test/12870/pipeline
/merge
This pull request has been accepted and is ready to merge.
cherry pick to release-5.4 in PR #37232
cherry pick to release-6.1 in PR #37233