Repository navigation
Commit e350186
committed
fix(metadata-protocol): the compile cache confirms on the rows' content and retires the row cache (#34206)
Answers L1 6931948189 and contract review 6932160915 on #34494.
- The store reading is a digest of every sys_metadata row's content, so
a write that leaves updated_at alone, a timestamp-preserving import or
a peer with a slow clock still moves it.
- Every confirmation retires the overlay row cache and rebases the
bucket's stamp: a recompile reads rows at least as new as the reading,
and a compile in flight across a confirmation is not stored.
- No entry is renewed past 10 bounds, the backstop for what no reading
sees.
- FilesystemLoader caps the probed type directories at 1000.
- Clause-② yes in the changeset; docs, env row and comments follow.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oyZgRX9Qc1ZHsMRQp1 parent 00fef25 commit e350186
10 files changed
Lines changed: 297 additions & 64 deletions
File tree
- .changeset
- content/docs
- concepts
- deployment
- packages
- metadata-protocol/src
- metadata/src
- loaders
- objectql/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| |||
0 commit comments