Skip to content

Conversation

@sunshine-Chun
Copy link
Contributor

Summary: as title

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from b023746 to 7812951 Compare April 25, 2023 21:27
Copy link
Contributor

@laurynas-biveinis laurynas-biveinis left a comment

Choose a reason for hiding this comment

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

The other current DD PRs would also use rdb_native_dd, probably it will be easier to get this one merged and rebase the rest

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch 2 times, most recently from 49e6df9 to f2ce636 Compare April 26, 2023 22:05
@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.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from f2ce636 to 2806d86 Compare April 27, 2023 17:54
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from 2806d86 to 6c73902 Compare April 27, 2023 20:07
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@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.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from 6c73902 to c28bef8 Compare April 27, 2023 23:04
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@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.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from c28bef8 to f227947 Compare April 27, 2023 23:38
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from f227947 to e59df50 Compare April 27, 2023 23:45
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from e59df50 to 627e360 Compare April 28, 2023 00:18
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from 627e360 to 144ab37 Compare April 28, 2023 00:20
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

@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.

@sunshine-Chun sunshine-Chun force-pushed the fb-mysql-8.0.28-dd-api3 branch from 144ab37 to 41e7a1c Compare April 28, 2023 00:45
@facebook-github-bot
Copy link

@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.

inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 1, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8
luqun pushed a commit to luqun/mysql-5.6 that referenced this pull request Jun 5, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects. 
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298
GitHub Author: Chun Ni <chni@fb.com>

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

Reviewers: luqun, #mysql_eng

Reviewed By: luqun

Subscribers: webscalesql-eng@fb.com

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

Tags: accept2ship
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 14, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 23, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 3, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 18, 2023
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
inikep pushed a commit to inikep/percona-server that referenced this pull request Dec 20, 2023
Upstream commit ID: facebook/mysql-5.6@1a0f581
PS-8951: Merge percona-202305 (https://jira.percona.com/browse/PS-8951)

Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook/mysql-5.6#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8d6a4de03f37bb15438fadfe19670108ba
inikep pushed a commit to inikep/percona-server that referenced this pull request Dec 20, 2023
Upstream commit ID: facebook/mysql-5.6@1a0f581
PS-8951: Merge percona-202305 (https://jira.percona.com/browse/PS-8951)

Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook/mysql-5.6#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

fbshipit-source-id: 95aebf8d6a4de03f37bb15438fadfe19670108ba
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 7, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 8, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 9, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 10, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 13, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 15, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 16, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 30, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 16, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 16, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 17, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 30, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 2, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 6, 2024
Summary:
We are adding support for data dictionary related rocksdb_hton functions. This will include the current diff and couple of following diffs. Each diff will add support for one or several rocksdb_hton function.

This current adds support for rocksdb_hton->dict_register_dd_table_id. It contains several part
1. Add a rdb_native_dd file. The file is dedicated to rocksdb data dictionary related function and objects.
2. Add dd table check in rename_table/delete_table/truncate_table. These table operations are not allowed for dd tables. Fail the operation if it's operated on dd tables.
3. Maintain a dd table id set.

Pull Request resolved: facebook#1298

Reviewed By: luqun

Differential Revision: D45332365

Pulled By: sunshine-Chun

-----------------------------------------------------------------------------------------------

Make myrocks::native_dd::is_dd_table_id private (facebook#1421)

Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421

Differential Revision: D52770129

fbshipit-source-id: 20b72e8
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.

4 participants