Caching: CultCache.Update, update-with-retry as the golden-path write (golden-path-write-api) #168
Loading…
Reference in a new issue
No description provided.
Delete branch "golden-write/update-with-retry"
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.Update(key, apply, maxAttempts = 5): read the held record's content version, apply a function to a private codec copy, conditional commit, re-run on a lost race; a lost race is a returned CultUpdateResult, blind writes stay the opt-out. C# reference only; ports and items (2)-(4) are follow-ups.
Spec
variants:cut_spec:cut-cut-update-with-retry.r1, reportvariants:cut_report:cut-cut-update-with-retry.h1, follow-upvariants:follow_up:golden-path-write-api. Includes UpdateTests, a tested docs/start section and the Caching README Happy Path.🤖 Generated with Claude Code