cultcache-rs: update-with-retry (update-with-retry-rs) #171
Loading…
Reference in a new issue
No description provided.
Delete branch "golden-write/update-with-retry-rs"
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?
cultcache-rs: CultCache::update is update-with-retry to the semantics of the C# CultCache.Update (#168, #170): content version (SHA-256 of the record's re-encoded stored bytes, pinned by the C#-written vector in tests/vectors/content-version), conditional commit (
read,commit_ifon the single-file store), re-run on a lost race, typed updated | declined | lost-race result, bounded attempts. Every replacing write through the single-file store'spush,push_allandcommit_ifis re-stamped later than the record it replaces, pervariants:ruling:py-rs-update-follow-csharp-restamp; the exact-envelope CAS family and redb stores are unchanged.Breaking:
CacheBackingStore::pushandpush_allreturn the stored_at they wrote; Huginn's test stores break at its next rev bump (CHANGELOG). New dependency: sha2 0.10 (already in the cultnet-rs and cultmesh-rs locks).Spec
variants:cut_spec:cut-update-with-retry-rs.r1, reports.h1and.h2, Soul verdictvariants:verdict:cut-update-with-retry-rs.s1, follow-upvariants:follow_up:update-with-retry-rs.🤖 Generated with Claude Code
25661000d084d64d339a