Commit 1a0f581
Add dict_register_dd_table_id api support for rocksdb dd (#1298)
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: #1298
Reviewed By: luqun
Differential Revision: D45332365
Pulled By: sunshine-Chun
fbshipit-source-id: 95aebf81 parent 35a178a commit 1a0f581
File tree
5 files changed
+134
-11
lines changed- storage/rocksdb
5 files changed
+134
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
7432 | 7433 | | |
7433 | 7434 | | |
7434 | 7435 | | |
| 7436 | + | |
| 7437 | + | |
7435 | 7438 | | |
7436 | 7439 | | |
7437 | 7440 | | |
| |||
10132 | 10135 | | |
10133 | 10136 | | |
10134 | 10137 | | |
| 10138 | + | |
| 10139 | + | |
| 10140 | + | |
10135 | 10141 | | |
10136 | 10142 | | |
10137 | 10143 | | |
| |||
10155 | 10161 | | |
10156 | 10162 | | |
10157 | 10163 | | |
10158 | | - | |
10159 | | - | |
| 10164 | + | |
| 10165 | + | |
10160 | 10166 | | |
10161 | 10167 | | |
10162 | 10168 | | |
| |||
14065 | 14071 | | |
14066 | 14072 | | |
14067 | 14073 | | |
14068 | | - | |
14069 | | - | |
| 14074 | + | |
14070 | 14075 | | |
14071 | 14076 | | |
14072 | 14077 | | |
14073 | 14078 | | |
| 14079 | + | |
| 14080 | + | |
| 14081 | + | |
14074 | 14082 | | |
14075 | 14083 | | |
14076 | 14084 | | |
| |||
14085 | 14093 | | |
14086 | 14094 | | |
14087 | 14095 | | |
14088 | | - | |
14089 | | - | |
14090 | | - | |
14091 | | - | |
| 14096 | + | |
| 14097 | + | |
| 14098 | + | |
14092 | 14099 | | |
14093 | 14100 | | |
| 14101 | + | |
| 14102 | + | |
| 14103 | + | |
| 14104 | + | |
14094 | 14105 | | |
14095 | 14106 | | |
14096 | 14107 | | |
14097 | 14108 | | |
14098 | | - | |
14099 | 14109 | | |
14100 | 14110 | | |
14101 | 14111 | | |
| |||
19020 | 19030 | | |
19021 | 19031 | | |
19022 | 19032 | | |
| 19033 | + | |
| 19034 | + | |
| 19035 | + | |
| 19036 | + | |
| 19037 | + | |
| 19038 | + | |
| 19039 | + | |
| 19040 | + | |
| 19041 | + | |
| 19042 | + | |
19023 | 19043 | | |
19024 | 19044 | | |
19025 | 19045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
497 | | - | |
| 496 | + | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
673 | 675 | | |
674 | 676 | | |
675 | 677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments