Skip to content

Check KV transaction view opacity - #8795

Draft
Heidi Howard (heidihoward) wants to merge 1 commit into
microsoft:mainfrom
heidihoward:agents/lean-kv-consistent-transaction-view
Draft

Heidi Howard (heidihoward) wants to merge 1 commit into
microsoft:mainfrom
heidihoward:agents/lean-kv-consistent-transaction-view

Conversation

@heidihoward

Copy link
Copy Markdown
Member

The existing normal-view serializability statement reconstructs each log on assembled per-map data, so it cannot detect incompatible snapshots across maps. Add a transaction-wide normal-view opacity property evaluated at every accepted execution prefix, including attempts that fail or are later destroyed.

A machine-checked counterexample exposes the gap: after an atomic write changes two maps, a read-only attempt acquires one before rollback and the other afterwards, observes incompatible snapshots, and still completes successfully. This records the failure explicitly rather than claiming opacity is guaranteed.

Historical per-map global reads are outside the property's scope.

@heidihoward

Copy link
Copy Markdown
Member Author

Following on from #8762 (comment)

Check normal observations against each attempt's captured snapshot at every execution prefix, including attempts that fail or end.

Record a kernel-checked counterexample where lazy map acquisition across rollback produces an inconsistent read-only view.
@heidihoward
Heidi Howard (heidihoward) force-pushed the agents/lean-kv-consistent-transaction-view branch from 5778fd0 to b9616fc Compare November 18, 2026 14:51

This branch has not been deployed

No deployments
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.

1 participant