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

Refactor the acquisition of DDSE handlerton #1319

Closed

Conversation

laurynas-biveinis
Copy link
Contributor

Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

In c3f1703, get_rocksdb_files.sh invocation got
PATH setting. The public discussion is incomplete but
b739eac suggests that there is a problem with
CentOS 9 and make 4.3 that undefined PATH does not get a default fallback, thus
a PATH value is provided for the invocation.

The provided PATH value is however incompatible with building on macOS. Fix by
setting the fallback PATH value in the get_rocksdb_files.sh script itself.
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.
@facebook-github-bot
Copy link

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

@luqun
Copy link
Contributor

luqun commented Jun 13, 2023

still work on update one MTR(rocksdb.early_load_rocksdb_plugin) according to this PR.

@laurynas-biveinis
Copy link
Contributor Author

still work on update one MTR(rocksdb.early_load_rocksdb_plugin) according to this PR.

@luqun, I am sorry, I forgot that we already have an MTR test for DDSE == RocksDB. Do you need me to do anything at this point?

facebook-github-bot pushed a commit that referenced this pull request Jun 18, 2023
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: #1319

Differential Revision: D46649458

fbshipit-source-id: d861347
@laurynas-biveinis laurynas-biveinis deleted the dd-se-hton branch June 19, 2023 08:02
luqun pushed a commit to luqun/mysql-5.6 that referenced this pull request Jun 20, 2023
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319
GitHub Author: Laurynas Biveinis <[email protected]>

Test Plan: Imported from GitHub, without a `Test Plan:` line.

Reviewers: herman, chni

Reviewed By: chni

Subscribers: [email protected]

Differential Revision: https://phabricator.intern.facebook.com/D46649458

Tags: accept2ship
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 3, 2023
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 18, 2023
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 7, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 8, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 9, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 10, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 13, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 15, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 16, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 30, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 16, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 16, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 17, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 30, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 2, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 6, 2024
Summary:
Make it support both InnoDB and MyRocks DDSEs by introducing a helper function
dd::get_dd_engine that returns either based on the default_dd_storage_engine
sysvar setting. To have correct diagnostics in one instance at least, introduce
a get_dd_engine_name utility function too.

No functional changes if default_dd_storage_engine == InnoDB.

Pull Request resolved: facebook#1319

Differential Revision: D46649458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants