Commit 4600cd3
Merge #157918
157918: catalog/lease: address bugs with leased descriptors in catalog views r=fqazi a=fqazi
This patch makes the following changes to improve behaviour of leased descriptors in catalog views and extend testing:
1. Fixing a bug in the locked leasing where processing multiple descriptor versions could lead to a panic. This would happen if the range feed delivered the special update key before the modified descriptors.
2. Addressed a bug where create_type_statments would break since comments were not being looked up for the point look up index. This patch also adds crdb_internal into the local-leased-descriptor config
3. Enable locked leasing timestamps for the large schema benchmark to improve test coverage. This also helps us ensure no performance regression exists in this mode.
Fixes: #157916
Fixes: #157917
Fixes: #157880
Co-authored-by: Faizan Qazi <[email protected]>File tree
8 files changed
+29
-7
lines changed- pkg
- cmd/roachtest/tests
- sql
- catalog
- descs
- lease
- logictest
- testdata/logic_test
- tests/local-leased-descriptors
8 files changed
+29
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
533 | 541 | | |
534 | 542 | | |
535 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2204 | 2204 | | |
2205 | 2205 | | |
2206 | 2206 | | |
2207 | | - | |
| 2207 | + | |
2208 | 2208 | | |
2209 | 2209 | | |
2210 | 2210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3227 | 3227 | | |
3228 | 3228 | | |
3229 | 3229 | | |
3230 | | - | |
| 3230 | + | |
3231 | 3231 | | |
3232 | 3232 | | |
3233 | 3233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3796 | 3796 | | |
3797 | 3797 | | |
3798 | 3798 | | |
3799 | | - | |
| 3799 | + | |
3800 | 3800 | | |
3801 | | - | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
3802 | 3806 | | |
3803 | 3807 | | |
3804 | 3808 | | |
| |||
3897 | 3901 | | |
3898 | 3902 | | |
3899 | 3903 | | |
3900 | | - | |
| 3904 | + | |
3901 | 3905 | | |
3902 | 3906 | | |
3903 | 3907 | | |
| |||
0 commit comments