facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.47k stars 712 forks source link

[DD] add DD_ENGINE property into dd_properties table #1345

Closed luqun closed 10 months ago

luqun commented 10 months ago

Summary: With multiple DDSE support, DD tables can be stored in different DDSE.

During upgrade, it is possible that some of DD table is upgrade to target engine but others DD tables isn't. To skip check all of these tables SE, store DD_ENGINE value into dd_properties and the value is stored/updated at the end of upgrade.

Changes:

facebook-github-bot commented 10 months ago

@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 10 months ago

@luqun has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 10 months ago

@luqun has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 10 months ago

@luqun has updated the pull request. You must reimport the pull request before landing.

luqun commented 10 months ago

Could you explain how the scenario in my first comment works?

I will add this information into https://github.com/facebook/mysql-5.6/pull/1354

luqun commented 10 months ago

The PR has been committed