Commit 10a5244
committed
changefeedccl: change db-level feed default to no initial scan
This change the default initial scan behavior for db-level
feeds to not do an initial scan if no option is specified.
When an initial scan is specified, that is respected.
We do not allow db-level changefeeds with initial_scan='only'.
This includes a rewrite of existing db-level feeds tests which
rely on default initial scans in their testing.
Epic: CRDB-1421
Informs: #156484
Release note: None1 parent 7e8456c commit 10a5244
File tree
3 files changed
+352
-188
lines changed- pkg/ccl/changefeedccl
3 files changed
+352
-188
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | 233 | | |
| 234 | + | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
237 | 246 | | |
238 | 247 | | |
| |||
1462 | 1471 | | |
1463 | 1472 | | |
1464 | 1473 | | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1465 | 1485 | | |
1466 | 1486 | | |
1467 | 1487 | | |
| |||
0 commit comments