Commit c4c2ee8
adapter: exclude dependents of every new builtin, and bound the weak caught-up path
Two gaps in the 0dt caught-up gate, both found in review of MaterializeInc#38399.
Seed the transitive-dependent walk from all of `new_builtin_collections`,
not just the materialized views among them. A brand-new builtin table or
source has no read-only writer either, since `register_table_collections`
retains only migrated tables while read-only, so a `Replacement`-migrated
MV reading one can never advance past that empty frontier. With migrated
MVs now kept in the gate, such an MV would block promotion until an
operator intervened. No builtin table or source has been added since
v26.38.0, so this is latent today.
Require the write frontier to be within the allowed lag of `now` on the
no-live-frontier path, the same bound the live-frontier path applies.
Hydration is a one-shot property, so a collection that hydrated and then
stalled satisfied that branch forever.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent ed1200d commit c4c2ee8
2 files changed
Lines changed: 50 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5172 | 5172 | | |
5173 | 5173 | | |
5174 | 5174 | | |
5175 | | - | |
5176 | | - | |
5177 | | - | |
5178 | | - | |
5179 | | - | |
| 5175 | + | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
| 5179 | + | |
5180 | 5180 | | |
5181 | | - | |
| 5181 | + | |
| 5182 | + | |
| 5183 | + | |
| 5184 | + | |
| 5185 | + | |
| 5186 | + | |
5182 | 5187 | | |
5183 | 5188 | | |
5184 | 5189 | | |
5185 | | - | |
5186 | | - | |
5187 | | - | |
5188 | | - | |
5189 | | - | |
5190 | | - | |
5191 | | - | |
5192 | | - | |
5193 | | - | |
5194 | | - | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
5195 | 5197 | | |
5196 | 5198 | | |
5197 | 5199 | | |
5198 | 5200 | | |
5199 | 5201 | | |
5200 | | - | |
| 5202 | + | |
5201 | 5203 | | |
5202 | 5204 | | |
5203 | 5205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
637 | 661 | | |
638 | 662 | | |
639 | 663 | | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
640 | 667 | | |
641 | 668 | | |
642 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
643 | 673 | | |
644 | 674 | | |
645 | 675 | | |
| |||
0 commit comments