Skip to content

Conversation

@laurynas-biveinis
Copy link
Contributor

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

At the same time mark the method [[nodiscard]].
@facebook-github-bot
Copy link

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

@facebook-github-bot
Copy link

This pull request has been merged in f3f3d2c.

@laurynas-biveinis laurynas-biveinis deleted the myr-private-is_dd_table_id branch January 19, 2024 04:46
sunxiayi pushed a commit to sunxiayi/mysql-5.6 that referenced this pull request Apr 30, 2024
Summary:
At the same time mark the method [[nodiscard]].

Pull Request resolved: facebook#1421
GitHub Author: Laurynas Biveinis <laurynas.biveinis@gmail.com>

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

Reviewers: saumitr, chni, #mysql_eng

Reviewed By: saumitr

Differential Revision: https://phabricator.intern.facebook.com/D52770129
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.

2 participants