Commit 91c1f4d
committed
fix(cdc): mark truncated table escalated to skip redundant UPDATE tracking
markTableTruncated already leaves every leaf dirty, which is exactly the
adaptive drain's escalated state. Record it in the escalator so UPDATEs
landing on a re-populated table later in the same bounded drain skip
per-PK tracking instead of re-running the threshold count and a redundant
mark-all-dirty. Guarded by esc != nil (nil in continuous mode);
INSERT/DELETE split-merge tracking is unaffected.1 parent 774645d commit 91c1f4d
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
385 | 394 | | |
386 | 395 | | |
387 | 396 | | |
| |||
0 commit comments