Commit 16ee348
158390: sql: support table storage params change in the declarative schema changer r=rafiss a=shghasemi
### sql: support table storage params change in the declarative schema changer
Previously, storage parameters were set and reset using the legacy schema
changer. With this change, setting most non-backfilling table storage params
will use the declarative schema changer. Setting ttl-related params, schema_locked,
and infer_rbr_region_col_using_constraint is not implemented yet.
### schemachanger: handle RESET storage param in declarative schema changer
This reuses the logic that was added to handle SET. The only difference
is that RESET always drops the StorageParam element.
### schemachanger: handle manual schema_locked setting in declarative
This storage parameter is special, so this requires logic to use the
pre-existing TableSchemaLocked element rather than the normal storage
param element.
As part of this, we partially revert bc3f228 and refactor the check to be a
little simpler since we don't actually need to handle the mixed version
case now.
Epic CRDB-31281
Fixes #155990
Release note: None
159075: sqlstats: skip TestSQLStatsDiscardStatsOnFingerprintLimit under race r=dhartunian a=dhartunian
Resolves: #158978
Epic: None
Release note: None
159096: cli: skip some zip tests under deadlock r=dhartunian a=dhartunian
Resolves: #158973
Resolves: #158375
Resolves: #158467
Resolves: #158437
Epic: None
Release note: None
159100: azure: set default of cloudstorage.azure.try.timeout to 0 r=jeffswenson a=msbutler
This setting was previously set to 1m to deflake the TestAzureFaultInjection unit test, but unfortunately this also led to production backup flakes in the azure backup roachtest. Instead of reenabling this setting, we should to teach the resuming reader to time out hanging reads (reference issue #159098)
Epic: none
Release note: none
159120: build: bump go fork SHA for runtime.Yield and goroutine profiles r=dt a=dt
159165: Revert "decommission: retry on errors for AllocatorCheckRange" r=wenyihu6 a=wenyihu6
**Revert "decommission: retry on errors for AllocatorCheckRange"**
Reverting this commit for now because randomized decommission is failing due to timeouts. We could change the code to retry only on throttled stores, but I need to dig deeper. I’m uncertain why these errors don’t fail the test immediately and instead cause long waits without this commit. I’ll investigate separately. Given this behaviour has been on releases for a while, reverting seems okay.
This reverts commit 5d90692.
Fixes: #157973
---
**Revert "kv: add TestDecommissionPreCheckRetryThrottledStores"**
This reverts commit 0b2c0ce.
Fixes: #157973
Co-authored-by: Shadi Ghasemitaheri <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
Co-authored-by: David Hartunian <[email protected]>
Co-authored-by: Michael Butler <[email protected]>
Co-authored-by: David Taylor <[email protected]>
Co-authored-by: wenyihu6 <[email protected]>
File tree
53 files changed
+1590
-319
lines changed- build
- bazelutil
- teamcity/internal/release
- build-and-publish-patched-go
- pkg
- ccl/schemachangerccl/sctestbackupccl
- cli
- cloud/azure
- cmd/roachtest/tests
- kv/kvserver
- server
- storage_api
- sql
- logictest/testdata/logic_test
- schemachanger
- scbuild
- internal/scbuildstmt
- testdata
- scdecomp
- scexec/scmutationexec
- scop
- scpb
- uml
- scplan
- internal
- opgen
- rules/current
- testdata
- testdata
- screl
- testdata/end_to_end/alter_table_set_storage_param
- sem/tree
- sqlstats/sslocal
- storageparam
- indexstorageparam
- tablestorageparam
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+1590
-319
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
Lines changed: 28 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 | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| 721 | + | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
| |||
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| 834 | + | |
833 | 835 | | |
834 | 836 | | |
835 | 837 | | |
| |||
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
| 1506 | + | |
| 1507 | + | |
1504 | 1508 | | |
1505 | 1509 | | |
1506 | 1510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
0 commit comments