Skip to main content

Module atomic

Module atomic 

Source
Expand description

AtomicAppend capability conformance: several per-stream runs commit in ONE transaction — all land or none do.

Functions§

check_atomic_conflict_aborts_all
A conflict in ONE run aborts the WHOLE batch: no stream changes, the error names the offending write index and the actual head.
check_atomic_empty_batch_is_noop
An empty batch is a no-op Ok — and commits no position.
check_atomic_multi_stream_commits_all
Three runs across three streams (two fresh, one existing) commit together.