Cached filter, rewrite and client snapshots check their age with a monotonic counter instead of the wall clock #434
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!434
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/224-snapshot-ttl-monotonic-clock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #224
RefreshingSnapshot<T>.GetAsyncread the wall clock (GetUtcNow()) on every query to check its age. It now storesTimeProvider.GetTimestamp()at load time and compares withGetElapsedTime, a monotonic counter read. The time to live, the>=boundary and the refresh trigger are unchanged.GetTimestamp, because a snapshot no longer ages fromGetUtcNowalone. The verifier went through everyTimeProviderfake in the test tree: the remaining wall-clock-only fakes do not reach a snapshot.SpaFallbackTeststhat need a built console.Not done: the issue's acceptance asks for
PipelineLatencyandPipelineThroughputat--scale Large,--job default. They were not run on the shared CI runner. A smallRewriteEnginebenchmark shows the change faster with identical allocation, but it ran under a load of 10 to 26, so its size is not reliable.🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK