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

schema storage: get the schema snap of commit ts -1 to support async commit #1513

Merged
merged 8 commits into from
Mar 17, 2021

Conversation

zier-one
Copy link
Contributor

What problem does this PR solve?

after pingcap/tidb#23274 , tidb enable async commit by default, and it leads that the commit ts of a DML may be equal with the finished ts of a DDL, and the DML using the schema info before the DDL.

so we should get schema snapshot by CRTs - 1

Check List

Tests

  • Integration test

Release note

  • No release note

@zier-one
Copy link
Contributor Author

/run-integration-tests

@zier-one
Copy link
Contributor Author

/run-integration-tests

@zier-one zier-one marked this pull request as ready for review March 16, 2021 11:51
@zier-one zier-one added the release-blocker This issue blocks a release. Please solve it ASAP. label Mar 16, 2021
@lysu lysu added the needs-cherry-pick-release-5.0 Should cherry pick this PR to release-5.0 branch. label Mar 16, 2021
@zier-one zier-one removed the needs-cherry-pick-release-5.0 Should cherry pick this PR to release-5.0 branch. label Mar 16, 2021
@lysu
Copy link
Contributor

lysu commented Mar 16, 2021

/run-integration-tests

@amyangfei amyangfei added this to the v5.0.0 milestone Mar 16, 2021
Copy link
Contributor

@amyangfei amyangfei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 16, 2021
@zier-one
Copy link
Contributor Author

/run-kafka-tests

@lance6716
Copy link
Contributor

/lgtm

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Mar 17, 2021
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Mar 17, 2021
@amyangfei
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Mar 17, 2021
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 8d4e5ab into pingcap:master Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker This issue blocks a release. Please solve it ASAP. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants