Commit 48bcbf1
Merge #60519
60519: sql: Rebuild zone configs for multi-region tables during restore r=otan,arulajmani,pbardea a=ajstorm
Rebuild the zone configurations for multi-region tables on database
restore. We must rebuild the zone configs manually during database
restore because the zone configs are stored in the system databases,
which is only restored on cluster restores.
Release note (sql change): Multi-region tables will have their zone
configs regenerated during database restore.
Co-authored-by: Adam Storm <storm@cockroachlabs.com>7 files changed
Lines changed: 861 additions & 30 deletions
File tree
- pkg
- ccl
- backupccl
- logictestccl/testdata/logic_test
- sql
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1163 | 1209 | | |
1164 | 1210 | | |
1165 | 1211 | | |
| |||
0 commit comments