Commit 8a4ba47
committed
[#29405] YSQL: Make yb_make_all_ddl_statements_incrementing a test GUC
Summary:
Previously, {D46348} introduced the `yb_make_all_ddl_statements_incrementing` GUC, which when enabled, makes all DDL statements increment the catalog version. This could potentially cause DDLs to fail that previously succeeded due to catalog version mismatch. For example, if a workload involves running multiple `CREATE TABLE` statements in parallel, this would previously be okay, but if `yb_make_all_ddl_statements_incrementing` was set to `true`, some of these `CREATE TABLE` DDLs would fail.
This diff makes `yb_make_all_ddl_statements_incrementing` into a test GUC to discourage customers from setting it without understanding the consequences. We do this with the following two changes:
- Add the `yb_test` prefix to the GUC. `yb_make_all_ddl_statements_incrementing` -> `yb_test_make_all_ddl_statements_incrementing`
- Change the GUC's group from `CUSTOM_OPTIONS` to `DEVELOPER_OPTIONS`.
Test Plan:
```
./yb_build.sh release --java-test 'org.yb.pgsql.TestPgRegressMisc#makeAllDdlStatementsIncrementing'
```
Reviewers: myang
Reviewed By: myang
Subscribers: yql
Differential Revision: https://phorge.dev.yugabyte.com/D484151 parent 4fc1e96 commit 8a4ba47
File tree
8 files changed
+15
-15
lines changed- java/yb-pgsql/src/test/java/org/yb/pgsql
- src/postgres/src
- backend/utils
- cache
- misc
- include
- test/regress
- expected
- sql
8 files changed
+15
-15
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1931 | 1931 | | |
1932 | 1932 | | |
1933 | 1933 | | |
1934 | | - | |
| 1934 | + | |
1935 | 1935 | | |
1936 | 1936 | | |
1937 | 1937 | | |
1938 | | - | |
| 1938 | + | |
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3676 | 3676 | | |
3677 | 3677 | | |
3678 | 3678 | | |
3679 | | - | |
| 3679 | + | |
3680 | 3680 | | |
3681 | 3681 | | |
3682 | 3682 | | |
3683 | 3683 | | |
3684 | 3684 | | |
3685 | 3685 | | |
3686 | | - | |
| 3686 | + | |
3687 | 3687 | | |
3688 | 3688 | | |
3689 | 3689 | | |
| |||
7500 | 7500 | | |
7501 | 7501 | | |
7502 | 7502 | | |
7503 | | - | |
| 7503 | + | |
7504 | 7504 | | |
7505 | 7505 | | |
7506 | 7506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2249 | 2249 | | |
2250 | 2250 | | |
2251 | 2251 | | |
2252 | | - | |
| 2252 | + | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
| |||
4148 | 4148 | | |
4149 | 4149 | | |
4150 | 4150 | | |
4151 | | - | |
| 4151 | + | |
4152 | 4152 | | |
4153 | 4153 | | |
4154 | | - | |
| 4154 | + | |
4155 | 4155 | | |
4156 | 4156 | | |
4157 | 4157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
| 803 | + | |
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments