Closed luqun closed 1 year ago
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@luqun has updated the pull request. You must reimport the pull request before landing.
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@luqun has updated the pull request. You must reimport the pull request before landing.
Summary: During Data Dictioanry(DD) upgrade or restart, mysql should decide which SE(Storage Engine) contains actual DD tables if multiple SEs can be DDSE.
Currently MyRocks still have its own private data dictionary, which contains table name->table_def mapping. also these private data dictionary is initialized during plugin initialization. Thus implements handler API table_exists_in_engine to check whether a table exists in myrocks internal data dictionary.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: