Skip to content

Record updated on rebuild attempts - #1499

Merged
msuozzo merged 1 commit into
google:mainfrom
msuozzo:push-yzlrnvktsvvw
Aug 27, 2026
Merged

Record updated on rebuild attempts#1499
msuozzo merged 1 commit into
google:mainfrom
msuozzo:push-yzlrnvktsvvw

Conversation

@msuozzo

@msuozzo msuozzo commented Aug 24, 2026

Copy link
Copy Markdown
Member

Attempts are mutable (status transitions, timings, costs), so incremental
snapshot replay needs a clock recording the last write, not the first.
Every attempt write site stamps Updated alongside its other mutations,
and the collection group gains the single-field index exemptions its
updated range scans require.

@msuozzo
msuozzo requested a review from wbxyz August 24, 2026 18:15
@msuozzo
msuozzo force-pushed the push-yzlrnvktsvvw branch from 80184c6 to 7841780 Compare August 25, 2026 23:17
Attempts and scratch execs are mutable (status transitions, timings,
costs), so incremental snapshot replay needs a clock recording the last
write, not the first. Every write site stamps Updated alongside its
other mutations. Repo metrics gain Updated next to MeasuredAt, which
keeps its fetch-time meaning while Updated carries the write clock.
@msuozzo
msuozzo force-pushed the push-yzlrnvktsvvw branch from 7841780 to 1410ad9 Compare August 27, 2026 21:11
@msuozzo
msuozzo merged commit f357697 into google:main Aug 27, 2026
5 checks passed
@msuozzo
msuozzo deleted the push-yzlrnvktsvvw branch August 27, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants