facebook / mysql-5.6

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

Reimplement InnoDB data dictionary INFORMATION_SCHEMA views through s… #1342

Closed laurynas-biveinis closed 1 year ago

laurynas-biveinis commented 1 year ago

…erver layer

Currently, the DD-related INFORMATION_SCHEMA views in InnoDB use the low level InnoDB APIs directly to access the underlying DD tables. That stops working when those tables are moved to a different storage engine. To keep these views working, re-implement them using the server layer engine-agnostic APIs. Leave the old implementation enabled when InnoDB is the data dictionary storage engine.

To test the implementation without a viable alternate DDSE yet, the new implementation was enabled unconditionally and all the test regressions fixed and collected to a new testsuite rocksdb_dd_innodb. Going forward it will collect other InnoDB-specific tests when it is not the DDSE.

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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