Commit 7aaa484
authored
Minor followup for feedback from incremental cache implementation (#13360)
Followup to #13347
Discussed with @phryneas in person. Instead of conditionally passing in
the symbol by having caches opt-in, we pass it unconditionally. Caches
that want to take advantage of behavior using that symbol can come talk
to us on how to implement against the incremental behavior.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Improvements**
* Improved incremental, deferred, and streamed cache diff handling.
* Updated cache diff results to provide more consistent data-state
information.
* Simplified incremental data processing across cache implementations.
* **Bug Fixes**
* Corrected partial-data and missing-field behavior during streaming and
incremental reads.
* Preserved compatibility for standard cache diff queries that do not
use incremental options.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 0a27476 commit 7aaa484
8 files changed
Lines changed: 189 additions & 187 deletions
File tree
- .api-reports
- src
- cache
- core
- inmemory
- __tests__/cache.diff
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
413 | | - | |
414 | 417 | | |
415 | 418 | | |
416 | 419 | | |
| |||
630 | 633 | | |
631 | 634 | | |
632 | 635 | | |
633 | | - | |
634 | | - | |
635 | 636 | | |
636 | 637 | | |
637 | 638 | | |
| |||
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
649 | | - | |
| 650 | + | |
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| |||
1153 | 1154 | | |
1154 | 1155 | | |
1155 | 1156 | | |
1156 | | - | |
| 1157 | + | |
| 1158 | + | |
1157 | 1159 | | |
1158 | 1160 | | |
1159 | | - | |
1160 | | - | |
| 1161 | + | |
1161 | 1162 | | |
1162 | 1163 | | |
1163 | 1164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
1158 | 1162 | | |
1159 | 1163 | | |
1160 | 1164 | | |
1161 | | - | |
1162 | 1165 | | |
1163 | 1166 | | |
1164 | 1167 | | |
| |||
1660 | 1663 | | |
1661 | 1664 | | |
1662 | 1665 | | |
1663 | | - | |
1664 | | - | |
1665 | 1666 | | |
1666 | 1667 | | |
1667 | 1668 | | |
| |||
1676 | 1677 | | |
1677 | 1678 | | |
1678 | 1679 | | |
1679 | | - | |
| 1680 | + | |
1680 | 1681 | | |
1681 | 1682 | | |
1682 | 1683 | | |
| |||
3250 | 3251 | | |
3251 | 3252 | | |
3252 | 3253 | | |
3253 | | - | |
| 3254 | + | |
| 3255 | + | |
3254 | 3256 | | |
3255 | 3257 | | |
3256 | 3258 | | |
3257 | 3259 | | |
3258 | | - | |
3259 | | - | |
3260 | | - | |
| 3260 | + | |
| 3261 | + | |
3261 | 3262 | | |
3262 | 3263 | | |
3263 | 3264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
197 | 208 | | |
198 | 209 | | |
199 | 210 | | |
| |||
0 commit comments