Skip to content

Research notes / Storage correctness

Storage consistency: ordering is not a transaction or a durability promise

Published 12 October 2026 / Updated 1 December 2026

CCFS stream dependencies: a worked example

A storage system can order every GET and PUT correctly and still lose a client-side increment. Ask three separate questions: what is ordered, what is atomic, and what survives a failure?

On this page39 sections

Name the guarantee and its scope

Different contracts can coexist. A label is not an end-to-end correctness proof.
ContractWhat it constrainsDo not infer
Sequential consistencyOne legal common order, preserving each process's program orderReal-time precedence across clients or independent per-key composition
LinearizabilityLegal operation order, respecting real-time precedenceA separate GET and PUT form one atomic increment
SerializabilityCommitted transactions have an equivalent serial executionThe serial order preserves real-time precedence
Strict serializabilityEquivalent serial transactions, preserving real-time precedenceIndependent requests form one transaction or a durability promise
Read-your-writesLater session reads incorporate its earlier writesEvery other client immediately sees those writes
Monotonic readsSession reads retain previously observed write effectsValues increase numerically or are globally freshest
Monotonic writesSession writes retain their order and prerequisites at replicasAll clients' writes share one real-time order
Writes-follow-readsWrites preserve dependencies on previously read updatesThe read and write form an isolated transaction
DurabilityPersistence under the specified failure and recovery contractConcurrent application steps are isolated

The ordering distinctions follow Herlihy and Wing; session guarantees follow Terry and colleagues. Persistence is a separate API obligation, as the etcd documentation also makes explicit. [1] [2] [4]

A read has an interval, not a magic response timestamp

Linearizability places each operation somewhere between its invocation and response. If a write finishes before a read starts, that order matters. Overlapping operations can have either order when their results permit it. The formal definition is about a legal history, not synchronized wall clocks. [1, section 2.2]

Constructed example: x starts at 0. A read begins and obtains 0; a concurrent write sets x to 1 and finishes; the read then returns 0. That can be linearizable: place the read before the overlapping write. Requiring the newest value at response time would incorrectly reject this history.

What may a read return during a write?

For a single-writer register, safe and regular semantics agree outside overlapping writes. During overlap, safe permits any domain value; regular permits the preceding value or a concurrent write's value. [31, Part II, section 4]

An atomic register additionally needs one legal operation order respecting real-time precedence. This is the read/write-object case of linearizability, not a multi-key transaction or a crash-persistence promise. [1, sections 2.2 and 5.1]

Constructed history: domain {0, 1, 2}, initial value 0; one write of 1 runs from event position 1 to 6. Read A runs from 2 to 3, then read B from 4 to 5. Both overlap the write, but the reads do not overlap each other. Positions describe event order, not measured time.

Allowed pairs in this constructed history
A, BSafeRegularAtomic
0, 0YesYesYes
0, 1YesYesYes
0, 2YesNoNo
1, 0YesYesNo
1, 1YesYesYes
1, 2YesNoNo
2, 0YesNoNo
2, 1YesNoNo
2, 2YesNoNo

The pair 1, 0 fails atomicity: A requires the write before A, B requires it after B, yet A finishes before B starts. No single placement satisfies all three constraints. The nine rows enumerate possibilities, not their probabilities. A separate post-write read must return 1 under all three contracts when no further write overlaps it.

The classify entry point in the executable illustration and its tests cover one complete write and a sequential reader only. They reject overlapping reader calls and out-of-domain values; they do not model multiple writers, incomplete calls or failures. For systems work, name the object and operation scope before treating an ordinary GET as an atomic observation.

A missing response is not a no-effect result

Constructed trace: x starts at 0; invoke W(1), then complete R(1), while W has no response. A legal explanation appends a hypothetical response for W and orders W before R; deleting W leaves the read unexplained. If R returns 0 instead, both omission and completion after R can fit. [1, section 2.2]

Completing a pending call cannot move it before its invocation. If x starts at 0, R(1) finishes, and only then the sole W(1) is invoked, no legal completion explains the read. The corrected formal definition preserves real-time order among operations retained in the completed extension. [100, sections 3.1 and 4]

The separate classifyPendingWrite helper and pending-history tests distinguish those choices for one pending write and sequential completed reads. Neither proves delivery or persistence. A timeout response needs its API's contract, not automatic deletion. For a replication example, see quorum read write-back.

Atomic copies do not make the combined register atomic

Lamport's Construction 1 writes a separate copy for each reader, one copy after another. Even if every copy is atomic, an early reader can see the new value and a later reader the old value while the combined write is still running. The combined register can be regular without being atomic. This does not contradict linearizability's locality: the combined write is a new, composite operation, not one operation on an individual copy. Check the public operation boundary, not just the guarantees of its components. [31, Part II, section 5, Construction 1] [1, section 3.1]

Repeating the value does not remove overlap

Constructed Boolean example: the current value is 1 and a writer writes 1 again. A read overlapping that write may return 0 under safe semantics; regular and atomic semantics forbid it. Safe still requires a value from the declared domain. This is an allowed-history distinction, not a measured error probability. [31, Part II, section 5]

The existing executable illustration tests this same-value case. Its atomic classification checks a safety property, not whether an implementation is wait-free or survives a crash. Those need separate progress and recovery contracts. [1, sections 3.2 and 6.2]

Reproduce the history table and tests with Node.js and no installed packages. The guide specifies the event-order and pending-response conventions.

Definitions: safe register, regular register and atomic register.

What can a logical timestamp tell you?

A Lamport clock preserves happened-before precedence, but increasing timestamps do not prove causality. A process-ID tie break can order concurrent events without making them causally related. [33, pp. 559-561]

Constructed example: two counters start at zero and advance by one per event. A sends message m at A1. Before receiving m, B performs local events B1 and B2. B then receives m at B3; there are no other events or messages.

Constructed event trace, not a measured storage execution.
EventActionCounterRelation to A1
A1A sends m1Same event
B1B local event1Concurrent
B2B local event2Concurrent
B3B receives mmax(2, 1) + 1 = 3A1 precedes B3

A1 and B2 have unequal timestamps but no causal path between them. A1 and B3 do have one: the message delivery. B3's counter difference from A1 is not a duration in seconds. The trace is a teaching example, not a replication protocol or a proof of durable acknowledgement.

The event boundary is part of the model. Lamport notes that receiving a message can mean an interrupt being raised or its handler running; handlers need not run in arrival order. State which event a trace timestamps before interpreting its causal order. [33, p. 559, footnote 1]

The COPS design illustrates the storage consequence: its version combines a Lamport clock with a unique node identifier for last-writer-wins ordering, while separate dependency checks control when remote writes become visible. Choosing the winning version does not by itself show that its prerequisites are available. [34, sections 4.4 and 5.3]

One common order, not one order per key

Sequential consistency preserves each process's program order in one legal sequential execution. It need not preserve real-time precedence between different clients, unlike linearizability. Specify which operations belong to each sequential client and which objects the guarantee covers. [26, p. 690] [1, section 3.3]

Constructed single-key example: x starts at 0. A finishes writing 1 before B invokes a read returning 0. With no other operations or synchronization, placing B's read before A's write gives a sequentially consistent order. It is not linearizable because it reverses their real-time precedence. This is not a promise of a particular staleness limit.

Two individually explainable keys can contradict each other

In this separate constructed example, x and y both start at 0. Client A writes x=1, then reads y; client B writes y=1, then reads x. Every operation completes, and each client waits for its write to complete before starting its read. There are no other operations, crashes or retries. Ax and By label the writes; Ay and Bx label the reads.

All six common orders that preserve both client orders.
Common orderA reads yB reads x
Ax / Ay / By / Bx01
Ax / By / Ay / Bx11
Ax / By / Bx / Ay11
By / Ax / Ay / Bx11
By / Ax / Bx / Ay11
By / Bx / Ax / Ay10

Neither read sees 0 in four orders; only A sees 0 in one, and only B in one. Both reads returning 0 would require Ax before Ay before By before Bx before Ax. The first and third constraints are client order; the other two follow because a read of 0 must precede the sole write of 1 to that key. That cycle cannot fit a common sequential order.

Yet x alone admits Bx before Ax, and y alone admits Ay before By. Each per-key projection is sequentially consistent. Their combination is not: sequential consistency is not a local property. This illustrates the composition distinction proved by Herlihy and Wing, not an observed fault in a storage product. [1, section 3.3]

Here, local means compositional across objects, not close in network distance. Per-object linearizability does compose into linearizability of individual operations; per-object sequential consistency alone does not. Neither result makes a multi-key read or update atomic. For a cross-key invariant, specify the transaction or synchronization contract in addition to the operation ordering guarantee. [1, sections 3.1 and 3.3]

Download the fixed model, tests, generator and results with source hash. Run node --test sequential-consistency.test.mjs and node sequential-consistency-generate.mjs with the modules together. Tests enumerate all 24 permutations independently and recover exactly six admissible orders. Schedule counts are not probabilities; no timing distribution or real system is modeled.

These are individual operations, not two-request transactions. Ordering alone also does not specify what survives a crash. See sequential consistency, serializability and data durability.

Why intersecting quorums can still return new, then old

A read quorum is not necessarily a read-only protocol. In the original ABD construction, a reader queries a majority, selects the largest version label, then announces it to a majority before returning. Replicas retain their largest label. The paper proves a single-writer register under its asynchronous crash-stop model, not disk persistence or Byzantine tolerance. [19, sections 2-4, Figure 2]

One incomplete write is enough

Hesela's constructed example has replicas A, B and C, initially at version 0. One writer client starts version 1; only A receives it before the writer stops, without successful completion. There are no later writes. Reader P queries A and B, returns 1, and finishes before reader Q starts. Q queries B and C and returns 0. The read sets intersect at B, but B still holds 0.

This is a new-old inversion, not merely two overlapping reads in a different order. Returning 1 requires placing its write before P; P precedes Q in real time. With no later overwrite, returning 0 to Q cannot fit that order. An unfinished write need not be invisible, but observing it constrains subsequent operations. [1, section 2.2]

Calculated version labels, not payload values or measured outcomes. P reads A/B; after P returns, Q reads B/C.
ScenarioInitial A/B/CP returnsA/B/C after PQ returns
Unfinished write; query only1/0/011/0/00
Unfinished write; acknowledged write-back1/0/011/1/01
Write already on a majority; query only1/1/011/1/01

In the second row, P waits for A and B to acknowledge version 1 before returning. Q then finds 1 at B. Merely queuing that propagation in the background leaves the first history possible. The third row is a control: if the write has already reached A and B, both queried majorities see it. This does not prove that every query-only protocol is correct.

The executable illustration checks version selection and acknowledged propagation. Its downloadable tests enumerate 27 three-replica states and four possible majorities for each of three choices: first query, write-back acknowledgements and next query. All 1728 combinations retain or advance the observed version after write-back. These are finite checks, not probabilities or a proof of the full protocol. Messages, retries, clocks, crashes during reads and restart recovery are not implemented. Put both modules in one directory and run node --test quorum-writeback-check.mjs with Node.js 24.

Receiving a query majority is not completion: the original ABD read must also finish its write-back phase. In the paper's complete-network crash-stop model, termination assumes fewer than half the processes fail and fair execution, including delivery to non-failing processes. This is not a wall-clock response deadline. If those availability assumptions no longer hold after the query, the read may remain waiting for write-back acknowledgements even after selecting a version. [19, sections 2.1-4]

Quorum replies can outlive the state they acknowledged

Quorum replies are historical events, not a simultaneous snapshot. Michael et al. show that a replica can acknowledge a value, lose it during a crash and recover before the remaining acknowledgements arrive. Counting those replies may then complete a write without a majority still knowing its value. Their protocol tracks process incarnations to collect crash-consistent quorums and separates recovering from operational replicas. The model assumes fixed membership, retained process identities and a fresh per-process incarnation identifier on every restart; a process also recognizes that it is restarting. Safety does not imply guaranteed progress during continuing failures. This is a separate recovery protocol, not implemented by our finite illustration; a node responding again is not by itself evidence of restored state. [21, sections 3-4]

Read repair has a narrower implementation contract

Cassandra 5.0.0 documents BLOCKING read repair as supporting monotonic quorum reads, including after a write reaches only a minority. NONE reconciles responses without repair writes. However, repairing a narrower selection than a multi-row write can break partition write atomicity. Do not infer the ABD contract or general linearizability from this option. [20]

Before interpreting a read result, check the replica scope, version order, propagation acknowledgements and recovery assumptions. See quorum read write-back, read quorum and repair coverage.

Two correct requests can make one incorrect increment

Both clients intend to increment x, initially 0. Each computes a replacement from its own read. These tables are constructed single-register examples, computed by the downloadable example module, not observations from a database.

Separate GET and PUT. Final x = 1.
StepClient requestResultStored x
1A: GET x00
2B: GET x00
3A: PUT x = 1Success1
4B: PUT x = 1Success1
Atomic CAS with reread and recomputation. Final x = 2.
StepClient requestResultStored x
1A: CAS x, expected 0, replacement 1Matched; updated1
2B: CAS x, expected 0, replacement 1Mismatch; unchanged1
3B: GET x again11
4B: CAS x, expected 1, replacement 2Matched; updated2

The first history is already sequential at the GET/PUT level. Nevertheless, two intended increments leave x at 1. In the second, comparison and replacement are one operation: without intervening resets, only one CAS expecting 0 succeeds. The loser rereads, recomputes and retries. Continued contention can require further retries; this example is not a progress guarantee.

etcd offers an atomic conditional transaction with comparisons on values or revision metadata. Its scope does not extend to an unrelated object store or external side effect. [3, Transaction]

Native SQLite: where does the increment begin and end?

A lost update replaces an intervening change using an earlier read. Berenson et al. call this P4; it is distinct from write skew across different items. It is also distinct from a storage-stack lost write, where completion is reported but the intended storage update is absent. [6, sections 4.1-4.2]

We executed four prescribed schedules on SQLite 3.45.1 with Python 3.12.3, using two connections and one fresh, trigger-free counter row per case. The initial value and version are both zero. Both connections use WAL, synchronous FULL and private caches. Statements are consumed and cursors closed; implicit transactions finish before the next application step. [50, section 2.3]

Measured outcomes of prescribed schedules, not a random workload.
ScheduleFinal valueFinal versionUpdate results, A / B
Detached literal writes101 row / 1 row
Atomic increments201 row / 1 row
Version guard111 row / 0 rows
Snapshot upgrade101 row / SQLITE_BUSY_SNAPSHOT (517)

In the detached-literal case, A and B each read zero outside an explicit transaction, then independently write the literal one. Both updates affect one row, but only one increment remains. SQLite has serialized the writes: the unprotected operation is the application's read-compute-write sequence, not one database transaction. This is not a SQLite isolation defect.

The atomic-increment control uses SET value=value+1 in each UPDATE. The version-guard control instead uses WHERE id=1 AND version=0, advancing the version with the first accepted write. Its second UPDATE matches zero rows without an SQL error. Only one increment completes; no retry is performed. Assignment and predicate behavior follow SQLite's UPDATE contract. [51, section 2]

Engineering consequence: every participating writer must advance a nonreused version for this guard protocol to detect intervening changes. Resetting or bypassing the version breaks that reasoning. Neither one-row control proves protection of a multi-row invariant.

In the snapshot-upgrade control, both callers keep explicit read transactions open. A writes and commits before B attempts its stale write. SQLite rejects B with SQLITE_BUSY_SNAPSHOT (517); B then rolls back. Rejection protects this transaction boundary, but is not completion of B's increment.[52, WAL example] [53]

Retry implication, not an additional measured schedule: after discarding a stale snapshot, restart the read-compute-write operation from a fresh read. Replaying a previously calculated literal in a new transaction abandons the protection of the rejected transaction. Likewise, a zero-row version check requires the caller to handle the conflict; a successful SQL call alone does not mean that the requested change happened.

All four final integrity_check results are ok, including the application-level lost update. Structural consistency does not certify application intent. We injected no crash or device fault and measured no timing or failure rate; synchronous FULL is recorded configuration, not a tested persistence guarantee.

Download the method, native probe, tests and complete SQL traces and results. Run python3 -B probe.py --check results.json with those files together. The replay compares ordered statements, parameters, errors, transaction states and outcomes; runtime differences are reported separately.

Matching bytes do not prove an unchanged history

A separate constructed example allows arbitrary assignments: after A reads 0, another client changes x from 0 to 2 and back to 0. A value-based CAS expecting 0 can succeed. This is not a CAS violation; equality is true. It is insufficient when the application needs evidence that no intervening mutation occurred.

Within the same etcd revision history, atomically comparing the saved mod_revision detects intervening changes to that key even when the bytes return to their old value. The key's version is different: deletion resets it. Neither field covers mutations to other keys. [3, Key-Value pair]

A reused version is not the same key lifetime

An atomic comparison can accept a stale assumption. In a native etcd 3.6.16 experiment, a key initially held A at version 1. Deleting it and recreating it with B produced version 1 again. A transaction comparing only the saved VERSION accepted that different value and wrote its success-branch payload. CREATE rejected the new lifetime; MOD rejected its new modification. This is the documented distinction between fields, not a new etcd defect. [Pinned comparison implementation]

40 distinct cases per fresh cluster; 3 runs agree, 120 native observations. Accept means the guarded transaction wrote its payload.
After the initial readVALUEVERSIONCREATEMODCREATE + VERSION
No changeAcceptAcceptAcceptAcceptAccept
Put A over AAcceptRejectAcceptRejectReject
Overwrite A with BRejectRejectAcceptRejectReject
A to B to AAcceptRejectAcceptRejectReject
Delete, recreate AAcceptAcceptRejectRejectReject
Delete, recreate BRejectAcceptRejectRejectReject
Delete onlyRejectRejectRejectRejectReject
Write another keyAcceptAcceptAcceptAcceptAccept

CREATE alone accepts in-place updates: the key has the same lifetime, but not necessarily the same content. MOD rejects even an ordinary Put of A over A. Every tested guard accepts an unrelated-key write. Use the observed key's mod_revision for an unchanged-key condition, not the response header's store revision, which also advances for other keys. [3, Key-Value pair and Revisions]

The practical distinction is the predicate, not a stronger form of atomicity. Herlihy and Wing define linearizability relative to the object's sequential specification; a correct equality test need not detect every past mutation. This application interpretation does not reproduce their proof or certify etcd's implementation. [1, sections 2.1-2.2]

The experiment uses eight prescribed histories and five guards in each of three fresh single-member clusters, one host and one binary. These ordered interleavings are controlled observations, not production failure rates, contention measurements or a recovery test. CREATE + VERSION rejected the tested changes, but is not asserted equivalent to MOD for every operation. Snapshot restore creates a new logical cluster and can move revisions backward; stale tokens require an explicit recovery policy. A comparison inside etcd does not fence a delayed write to an external destination. [Recovery boundary]

Inspect the method, generated results and captures, code and regression tests. The publication replay also corrected our verifier: it now rejects mixed cluster identities and impossible read-header revisions. This strengthens the evidence checks, not the database's guarantees.

NVMe: one conditional update, two completion records

To claim a shared metadata slot, checking that it is free and then writing an owner leaves a race. Even waiting for the comparison to finish does not stop another client changing the slot before the write. The needed scope is the whole conditional update.

NVMe 1.3d defines optional Compare and Write fusion: failed Compare aborts Write without changing the range; failed Write leaves the Compare status unaffected. Inspect both completions. Observe ACWU/NACWU size limits and atomic boundaries, not just matching addresses. This is the cited revision's contract, not a device-support survey. [15, sections 4.10 and 6.2.1]

SPDK requires Compare then Write with first/second fusion flags, adjacent in the same submission queue and targeting the same LBA range. No other command may be inserted between them. Its submission calls return before completion, and a queue pair must have only one thread using it at a time. [16, Fused operations and Scaling Performance]

Enumerate the race instead of choosing a lucky order

Our one-register model starts at FREE. A and B each expect FREE and propose their own label. In the separate mode, a client writes only after its earlier comparison matched. C means compare; W means conditional client-side write. The atomic mode makes those two steps indivisible by construction.

All six order-preserving separate schedules and both atomic orders. These are constructed histories, not NVMe observations.
ModeEvent orderSuccessful writesFinal owner
Separate stepsA:C / A:W / B:C / B:W1A
Separate stepsA:C / B:C / A:W / B:W2B
Separate stepsA:C / B:C / B:W / A:W2A
Separate stepsB:C / A:C / A:W / B:W2B
Separate stepsB:C / A:C / B:W / A:W2A
Separate stepsB:C / B:W / A:C / A:W1B
Atomic updateA / B1A
Atomic updateB / A1B

Four separate schedules let both clients write; only the last owner's bytes remain. Each atomic order lets exactly one succeed. Four of six is a count of enumerated schedules, not a 67% failure probability: no timing distribution is assumed. There are no retries, resets, errors or power failures in this model.

Zero needs capability context

ACWU is zero-based: with support established, zero encodes one logical block. Without support, the field is also zero. Do not infer capability from ACWU alone. [15, Identify Controller]

The downloadable decoder requires an explicit support Boolean and a valid 16-bit field. It returns null for unsupported and 1 for supported/zero. It decodes only the controller baseline; namespace overrides, boundary checks and power-loss behavior are outside its scope.

Claiming a slot does not fence later I/O

Hesela's interpretation: successfully changing an ownership record cannot, by itself, reject a former owner's delayed write to another address. The storage path must enforce the ownership protocol where those writes arrive.

Burrows' Chubby paper describes a related boundary: locks are advisory; a request can arrive after its sender loses the lock. Its sequencer carries lock-generation information for the recipient to validate. This is a design-and-deployment experience report, not an NVMe experiment or a proof that fused commands implement Chubby. [17, sections 2.1 and 2.4] See stale-write fencing.

Download the model, result generator and complete traces and code hash. Put the two modules in one directory and run node generate.mjs to regenerate the JSON. Tests compare the enumerator against an independent choice-of-positions oracle. No storage devices are accessed.

Corpus: NVMe Compare and Write and compare-and-swap. Atomic conditional execution does not replace a separate persistence contract.

A decision is not yet a replicated service

Consensus separates agreement, validity and progress: decisions must not conflict, the selected value must satisfy the validity rule, and termination depends on the failure and timing assumptions. One instance chooses one value; a service needs an ordered sequence of operations. [86, sections 2-3]

State-machine replication adds execution: correct replicas start from a common state and apply deterministic transitions to agreed ordered inputs. Local clock readings or random choices cannot independently change those transitions. Equal state is expected at the same applied prefix, not at every instant. [87, sections 1 and 3]

Constructed example: both logs contain committed commands set x = 1 and set x = 2. Replica A has applied both; B has applied only the first. Their different current values do not show conflicting log decisions. A read invoked after the second write has completed, with no later write, cannot return x = 1 without violating linearizability.

Read authority, local application, retry deduplication and crash recovery remain separate obligations. Raft's client protocol addresses reads and repeated commands; Paxos separately requires recovery state to survive restart. Neither algorithm name proves that a particular storage stack meets those obligations. [35, section 8] [86, section 2.5] This is a source-based explanation, not a cluster failure experiment.

Correct answers and eventual answers are separate promises

A safety property excludes a finite, irreparable violation. A liveness property leaves every finite prefix extendable to a satisfying execution. That possibility is a definition of the property, not permission for an implementation to ignore other admitted executions. [97, sections 1-3]

Paxos separates restrictions on chosen values from eventual choice. Competing proposers can repeatedly prevent progress without choosing conflicting values. Its progress argument requires a suitably selected proposer, a sufficiently high proposal number and successful communication with a majority of acceptors; its safety argument still assumes the specified failures and persistent state. [86, sections 2.1, 2.4-2.5]

Constructed observations, not a cluster run or proof
ObservationRequirementWhat follows
A and B decide different values in one instanceNo conflicting decisionsAgreement was violated; later decisions cannot erase it.
A request starts at t = 0 and is still pending at t = 101 msEventually completes, with no deadlineThis finite observation alone does not establish permanent noncompletion.
The same request is still pending at t = 101 msCompletes at or before t = 100 msThe specified deadline was missed, even if completion follows.

The origin and times are illustrative, with elapsed time measured from invocation. A completion deadline is a safety requirement when elapsed time is part of the model. A caller-selected timeout is not automatically the service's promised deadline. Unbounded eventual completion provides no latency bound. [98, p. 2]

For a storage review, record the prohibited outcome, the required progress, and the scheduling, delivery and failure assumptions separately. Passing finite examples does not prove either universal guarantee. A complete specification can combine safety and liveness; neither label alone certifies a running service. [97, sections 1-4]

When can a safe consensus protocol make progress?

FLP impossibility concerns deterministic consensus under full asynchrony with one possible crash. Reliable delivery does not prevent an admissible execution from remaining undecided forever. The result limits guaranteed termination, not agreement; it does not say every run fails or require a permanent partition. The proof schedules every process repeatedly and eventually delivers every message while keeping the decision unresolved. [43, sections 1-3]

Partial synchrony adds timing assumptions. Dwork, Lynch and Stockmeyer distinguish two models: [44, section 1.2]

Timing assumptions, not measured cluster behavior
ModelBoundUnknown
Unknown boundA fixed bound always holdsThe bound's value
Eventual boundA known bound holds after stabilizationThe stabilization time

In the eventual-bound model, safety can survive arbitrary delays while termination requires eventual timing conditions. A short benchmark cannot establish that assumption, and unknown stabilization supplies no request deadline. [44, section 1.2]

For Raft, the log safety rules are timing-independent, while leader stability and progress depend on timing. RPC latency can include stable-storage work, so network round-trip time alone misses part of the election budget. [35, section 5.6]

For a storage service, review the decision rule and the progress assumptions separately: which failures are tolerated, which replicas must communicate, and what processing and persistence delays the timeout budget includes. A timeout by itself is not evidence that a conflicting decision is safe.

A restarted replica must recover its protocol obligations

Crash-recovery permits a process to return after stopping; crash-stop treats its failure as permanent within the execution. This is a failure-model distinction, not a guarantee that application data has been repaired. [88, sections 1-2]

The Aguilera-Chen-Toueg model separates volatile state from explicitly retained stable state. Persistence and communication are separate actions. Its links may lose messages but cannot create them; a message sent only finitely often cannot be received infinitely often. Fair loss constrains infinitely recurring communication, not each individual message. An unstable process recovers and crashes infinitely often, a property no finite restart trace establishes. [88, sections 2.1-2.4]

Raft makes the storage obligation concrete. Figure 2 identifies currentTerm, votedFor and the log as persistent; relevant updates precede RPC responses. Other coordination state is volatile in that presentation. Network reachability alone cannot compensate for forgetting a vote already granted in the same term. [35, Figure 2 and section 5.2]

The author's errata add a critical qualification: lastApplied must have the same lifetime as the state machine. Durable application state needs durable applied progress, even though the summary figure labels the index volatile. [89, Chapter 3 errata]

Our four constructed recovery controls isolate the consequence. One committed increment should leave a counter at 1. Keeping the value but losing its applied index replays the increment and gives 2; keeping the index but losing the value skips it and gives 0. Recovering a consistent pair gives 1. These are deterministic teaching examples, not observations of a Raft implementation or a prescription for snapshot installation.

Review questions, not results of a crash experiment
BoundaryQuestion before accepting recovery
Retained stateWhich term, vote and log updates survived?
Response orderingWas required persistence complete before acknowledging?
Resumed workWhich protocol checks must run before serving requests?

These questions are an engineering checklist inferred from the model and Raft's state rules, not a complete recovery protocol. Raft's timing-independent safety must be distinguished from timing-dependent progress; currently reachable replicas alone do not establish all progress assumptions. [35, section 5.6] This supplement is source synthesis, not a new consensus proof or an executed cluster test.

A repaired file does not restore voting authority

Restoring bytes, detecting stale state and authorizing protocol participation are different recovery obligations. Paxos acceptors must durably record required protocol state before replying. Restarting with missing promises does not satisfy that contract. [86, section 2.5]

In the historical Paxos Made Live system, a damaged replica rebuilds without promises or acknowledgments. It resumes voting after observing a complete instance that began after rebuilding started. Merely finishing an older instance is not that condition. [99, section 5.1]

A file checksum can accept an old, internally consistent file; footnote 2 explicitly excludes rollback detection. Section 6.2 instead orders a database checksum request through the replicated log and compares replicas with the master. This is a separate divergence check, not a universal freshness certificate. [99, footnote 2 and section 6.2]

The authors considered, but did not implement, relaxing synchronous log flushing using this recovery mechanism. Do not use that proposal to disable required durable writes or as a generic Raft repair procedure. [99, section 5.1 and footnote 3] This is historical source synthesis, not a recovery implementation or cluster test.

Raft reads need a confirmed and applied prefix

A leader cannot conclude that an older-term entry is committed merely because most servers store it. Raft's replica-count rule commits a current-term entry, thereby committing its preceding log prefix. [35, section 5.4.2]

To read without a log entry per request, the paper first commits an entry in the leader's term, then confirms leadership with majority heartbeats after the read is invoked. A previously completed heartbeat round alone cannot authorize a new read. The paper's alternative lease approach needs timing assumptions, including bounded clock skew. [35, section 8]

Consider a constructed history: A confirms leadership while x is 0, then loses contact with the other voters. They elect B, which commits x = 1 and returns success. Only then does a new read arrive at A. Returning 0 using A's earlier confirmation violates linearizability: the write finishes before the read starts. This is a counterexample to reusing old evidence, not an observed Raft failure or a model of valid lease reads.

Freshness does not require a separate quorum exchange for every client. In etcd v3.6.0, linearizableReadNotify captures the current notifier; linearizableReadLoop swaps it for a new one before the new confirmation starts. Readers holding the old notifier can share that round. Readers capturing the new notifier after that swap wait for a subsequent round, rather than borrowing the in-flight round's result. [36, linearizableReadNotify and linearizableReadLoop]

Commitment and local application are separate steps. In etcd v3.6.0, linearizableReadLoop obtains a confirmed read index and waits when the applied index is lower. Equality satisfies that progress check. requestCurrentIndex first matches the response to the current request; an arbitrary index from an earlier request is insufficient. [36, linearizableReadLoop and requestCurrentIndex]

Keep the counters distinct: this comparison uses Raft log indices, not the KV revision returned in an API response. One modifying transaction advances the KV revision once even when it changes several keys; a transaction with no MVCC changes does not advance it. [3, Response header and Transaction] [38, storeTxnWrite.End and put] A revision is therefore not a substitute for the confirmed log index.

There is also a diagnostic trap in the pinned read-loop source: after the conditional wait, its trace says applied index is now lower than readState.Index. The control flow waits when the applied index is lower and only then notifies the readers. This is a misleading trace label, not a demonstrated stale-read bug. Inspect the condition and wait before interpreting that trace as evidence of lag. [36, linearizableReadLoop]

These checks constrain the read path, not just the replicated log. Requesting a serializable read instead permits stale data relative to quorum. Watches have a separate contract and are not linearizable. Select the required API semantics before interpreting a service's use of Raft as an application-wide guarantee. [4, Linearizability and Watch APIs]

Raft joint consensus separately constrains membership transitions with old and new voter majorities. [35, section 6] The Raft definition links these protocol and implementation scopes.

A union majority can still miss a required majority

Constructed example: old {A, B, C}, new {C, D, E}. Count affirmative votes for the same candidate in the same term. C, D, E give old 1/3 and new 3/3. Their 3/5 majority of the union does not satisfy the joint-majority condition. The election is not necessarily lost: more votes may still arrive. The pinned library distinguishes pending from lost outcomes. [39, JointConfig.VoteResult]

A, C, D give 2/3 in each configuration and satisfy both counts. A, B, D, E also give 2/3 in each, without C. A member shared between configurations is therefore not automatically mandatory. These are vote-count illustrations, not a complete election: candidate eligibility, log freshness, terms and configuration activation still require the protocol's other rules. No cluster was run. [35, sections 5.2, 5.4.1 and 6]

A quorum index is a candidate, not the whole commit rule

For the same fixed active old and new configurations, construct matched-prefix indices A=4, B=4, C=8, D=8, E=8. The old group's largest majority-supported index is 4; the new group's is 8. JointConfig.CommittedIndex takes their minimum: candidate 4. Counting the union yields 8. Assume prefix matches against the same leader log, not arbitrary local log lengths. [39, CommittedIndex] [41, CommittedIndex]

The helper's name is not the final commit decision. raft.maybeCommit passes the candidate and the leader's current term to raftLog.maybeCommit. That method advances only beyond the existing commit index when the entry matches that nonzero term. [42, maybeCommit] [40, maybeCommit and matchTerm] An older-term candidate alone cannot establish new commitment by counting replicas. Entries already committed remain committed; committing a later current-term entry covers its older prefix indirectly. [35, section 5.4.2 and Figure 8]

This is a source-backed arithmetic example, not a cluster experiment or complete protocol model. It holds membership fixed and assumes valid replication acknowledgements; it does not model configuration activation, elections, message delays or storage failures.

Membership changes need an algorithm and an activation point

Ongaro's 2015 correction concerns the dissertation's single-server changes, not joint consensus. That algorithm activates the latest logged configuration before commitment. Competing changes across terms can then break quorum overlap. Its proposed repair retains the prior-configuration commitment rule and requires the leader to commit an entry from its current term before appending another configuration. Merely appending a no-op does not satisfy that prerequisite. [90, scope and proposed solution]

The raft v3.6.0 integration contract instead activates an accepted configuration change when its committed entry is applied through ApplyConfChange, not when appended. [91, Implementation notes] Do not generalize the documentation's one-node wording to every API: ConfChangeV2.EnterJoint selects joint consensus for multiple changes or an explicit joint transition. [92, EnterJoint]

For an implementation review, record the library version, membership algorithm, activation point and completion rule for the preceding change. This is a checklist inferred from the differences above, not a new safety proof. The historical report does not demonstrate a defect in current etcd; the fixed-membership examples above do not reproduce its counterexamples.

A committed command can still be submitted twice

If a leader commits a command and crashes before replying, the client's retry can reach a new leader and execute again. The paper addresses this with per-client command serial numbers and remembered results in the state machine. A recognized retry returns its earlier result without repeating the mutation. Agreement on log positions is not enough to identify two submissions as one logical operation. [35, section 8]

Even a repeated assignment can be unsafe: after the first write, another client can write a newer value that the delayed retry overwrites. RIFL illustrates this in Figure 2 and requires the completion record and mutation effects to become durable atomically. These are obligations of that separate design, not properties inferred for every Raft implementation. [37, Figure 2 and sections 3-4.1] See retry deduplication and uncertain completion after a timeout for recovery and request-lifetime limits.

One latest-result slot per client is not a general design for concurrent requests. For a live client, RIFL tracks outstanding RPCs and communicates the lowest sequence number still awaiting a response. This acknowledgement permits reclamation only below that boundary. A stalled earlier request therefore retains later completion records even after later responses arrive. [37, section 4.2]

This extension is a source review of the paper and pinned implementation, not a cluster experiment. An engineering implication is that agreeing on a manifest does not by itself verify the existence or durability of objects stored outside the replicated state machine. Check those dependencies separately.

SCSI conditional updates have their own limits

SCSI COMPARE AND WRITE checks supplied expected data and replaces the addressed blocks only on a match. A mismatch reports MISCOMPARE without that replacement. Comparison and conditional writing execute without interruption, closing the race between a separate host read and write. [22, DESCRIPTION]

Check the Block Limits VPD page's MAXIMUM COMPARE AND WRITE LENGTH: zero means unsupported; a nonzero value gives the largest accepted number of logical blocks. A utility's one-block default is not a universal device limit. This field is a block count, not a byte budget. [23, section 5.4.5]

For example, if the advertised maximum is eight blocks, a nine-block request is outside the contract. With a 4096-byte logical block, an eight-block range contains 32,768 data bytes; comparison and replacement together supply 65,536 bytes before any protection information. These are unit conversions, not a measured device configuration. The documented sg_compare_and_write utility calculates its default data-out length assuming 512 bytes per logical block, without querying READ CAPACITY. [22, DESCRIPTION]

A MISCOMPARE diagnostic also needs units. The pinned sg3_utils code reports a byte offset only when sense Information is valid; otherwise it reports the mismatch without an offset. That number is not automatically a failing LBA. Preserve the Information field's command context. [24, MISCOMPARE branch]

Hesela's interpretation: indivisible conditional execution does not establish a multi-command transaction or its behavior after power loss. Establish the persistence contract separately. See the SCSI command record for source and transfer details, and the NVMe fused-operation example for a distinct command interface.

At the application layer, the ALICE study distinguishes crash atomicity from persistence ordering by exploring update-protocol crash states. Its filesystem experiments do not test this SCSI command. The useful connection is methodological: verify the whole recovery protocol instead of inferring it from one indivisible operation. [25, sections 2.1-2.2 and 3]

Two-phase commit: prepared is not committed

In two-phase commit (2PC), participants first promise that they can commit; a coordinator then records and announces the common decision. Commit requires every participant to prepare. A preparation record is not a commit decision. [Gray and Lamport, sections 2-3]

Classic 2PC: what the local state authorizes
Local statePermitted actionWhy the distinction matters
Working participantMay abort before entering the prepared state.A timeout can trigger this choice.
Prepared participant, outcome unknownLearn or recover the common outcome; a timeout alone does not establish abort.The coordinator may already have recorded commit.
Coordinator with durable commit decisionRecover and retransmit that decision.A lost reply cannot turn commit into abort.

Classic 2PC can block after participants prepare if the coordinator fails before they learn the outcome. Persisted protocol state supports restart; it does not remove this availability limit. The table describes the classic protocol, not every optimized commit implementation. [Gray and Lamport, sections 3.1 and 3.3]

Atomic commitment does not itself supply an isolation level. Two-phase locking controls conflicting accesses; its growing and shrinking phases are not 2PC's preparation and decision phases. [Bernstein et al., section 3.2]

PostgreSQL 18 exposes PREPARE TRANSACTION for an external transaction manager. Preparation detaches the transaction from its original session while retaining its locks; its effects are not visible as committed. Unresolved prepared transactions can obstruct VACUUM. Inspect pg_prepared_xacts and resolve transactions according to the manager's outcome, not by guessing from their age. [PREPARE TRANSACTION]

Recoverable state need not mean a separate file for every preparation: short-lived prepared transactions use shared memory and WAL; those spanning a checkpoint are also stored in pg_twophase. These are documented protocol and implementation boundaries, not a new failure experiment. [PostgreSQL two-phase transactions]

Missing recovery state needs a protocol identity

Presumed abort and presumed commit assign different outcomes to missing transaction information at the responsible recovery coordinator. Basic R* presumed commit makes subordinate identities durable in a collecting record before sending PREPARE. Updating participants still force their prepare records. [R*, sections 3-4]

A collecting record with no later protocol record means the process was still collecting, not prepared. This is not the no-information case: recovery aborts, collects required acknowledgements and records completion before forgetting the transaction. A nonroot coordinator that subsequently logged prepare instead asks its parent for the outcome. A prepared participant cannot turn a timeout into permission to commit. When protocols coexist, recovery inquiries must identify the chosen protocol. [R*, sections 4-5 and footnote 8]

The optimization removes commit acknowledgements and participant commit-record forcing, not preparation or the root's durable update-commit decision. It adds early participant-list persistence, so fewer messages do not establish lower latency for every workload. The later presumed-either protocol conditionally uses participant records already made durable; it is a distinct protocol, not another name for presumed commit. [Attaluri and Salem, sections 2-3]

Operational inference: check the protocol, the responding authority and the integrity of its recovery history. Accidental loss of a coordinator log is not legitimate absence under either protocol. This comparison is source synthesis, not an executed failure test.

SLOG: changing a home region changes the ordering problem

SLOG gives each data granule a home region and replicates transaction inputs. A single-home transaction may still span several servers inside that region. SLOG-B acknowledges after the first region commits; SLOG-HA additionally waits for input-log replication to a configurable number of nearby regions. Local execution, replication acknowledgement and survival of a region failure are different questions. This is the transaction system, not a ZFS separate log device. [Ren et al., sections 3.1-3.2]

For multi-home work, ordering establishes compatible lock requests across the relevant home regions. The evaluated prototype puts this ordering service in one region. The paper discusses cross-region Paxos as a more failure-tolerant alternative; selecting SLOG-HA does not by itself establish that the prototype's ordering service survives loss of its region. [Section 3.3]

The processing model requires the accessed granules to be determined before processing begins, directly or through the techniques assumed by the design. This is an input requirement, not a guarantee for arbitrary interactive transactions. [Sections 2 and 3.2]

A routing lookup does not establish the execution order

A remaster operation updates a granule's home and counter through the old home's log. A later transaction can enter the new home's log while another replica has not yet processed the remaster. Regions preserve each origin's log order but may interleave different origins differently. Figures 5-6 show why using the home lookup alone risks divergent execution. [Section 3.4]

Paper algorithm, before requesting a granule lock; not measured outcomes.
Transaction counterAction
Behind stored counterAbort the stale attempt.
Ahead of stored counterWait for the missing remaster operations.
Matches stored counterRequest the lock; matching alone does not grant it.

Waiting before requesting that lock leaves it available for the remaster operation. Checks repeat during execution after lock acquisition. The paper uses bounded counters with wrap-around detection, not an indefinitely increasing integer. Its Cloud Spanner comparison also explicitly cautions against reading raw performance differences as a controlled like-for-like result. [Sections 3.2, 3.4 and 4]

The author repository is an experimental rewrite, not the implementation used for the paper's measurements, and warns against production use. [Pinned README] This section is source synthesis, not a SLOG run or a new benchmark.

Calvin: agree before locking, not after execution

Calvin orders and replicates transaction inputs before execution. Its deterministic scheduler preserves that serial order without running every transaction sequentially. Removing a separate commit phase from the lock-holding interval does not mean removing agreement or recovery. Business-rule aborts remain possible. [Thomson et al., sections 1.3-3.2]

A less obvious boundary is the read that discovers which records to lock. Optimistic Lock Location Prediction performs reconnaissance, then validates its predicted accesses during ordered execution. A dependency that changed meanwhile requires a restart. The TODS study's dependent-transaction tests used artificial replication delays and single-partition transactions; they are not measured cross-region executions of that workload. [Sections 3.2.1 and 7.4, footnote 12]

The separate PVLDB evaluation contrasts locking variants in one prototype. Its version with no commit protocol is an intentionally unsafe overhead control. It also shows why delayed dependency discovery and uneven partition progress matter: less coordination while holding locks does not guarantee lower total latency. [Ren et al., sections 3.1 and 3.5-3.7]

Engineering inference: compare input agreement, execution, retries and recovery separately. A count of commit messages alone cannot select an architecture. This is source synthesis, not a Calvin benchmark or crash test.

Transaction isolation answers a larger question

Serializability concerns transactions, not just individual requests. Strict serializability also preserves real-time precedence between transactions. [1, section 3.3] In PostgreSQL 18, Serializable isolation can reject a transaction to prevent an anomaly. Applications must handle serialization failures by retrying the transaction, including the reads and decisions that led to its writes; replaying just the final statement is not a general repair. [5, section 13.2.3]

Do not infer these semantics from an option name alone. etcd's serializable read mode can return stale state relative to quorum; it is a read consistency choice, not a promise about an arbitrary sequence of separate client requests. [4]

Read Uncommitted depends on the engine and connection setup

A dirty read observes another transaction's pending changes. A later rollback exposes the risk, but is not required to classify the read. Reading your own writes is a different case. [PostgreSQL, isolation phenomena]

Read Uncommitted permits dirty reads; it does not require them. PostgreSQL 18 maps the requested level to Read Committed. In SQLite, the reader needs both a shared cache with the writer and PRAGMA read_uncommitted=ON. The pragma alone does not bypass private-cache isolation. [PostgreSQL] [SQLite isolation] [pragma]

Why a rollback-only detector is incomplete

Berenson et al. distinguish broad P1, which does not require an abort, from narrow A1, which includes writer abort and reader commit. Their H1 transfer preserves a total of 100: balances move from 50 + 50 to 10 + 90. A reader between the two writes observes 10 + 50 = 60, although both transactions commit. This is the paper's constructed history, not a result from the SQLite probe below. Checking only reads from transactions that later roll back would miss it. [6, section 2.2 and section 3, H1]

A pending value that disappears after rollback

Native teaching example, SQLite 3.45.1: one row starts at 0; writer W begins a transaction and changes it to 1. Reader R attempts a SELECT before W rolls back, then reads again. Two connections in one process, DELETE journal, cache spilling disabled, no explicit reader transaction and no concurrent threads.

Four prescribed configurations; each writer reads its own pending value 1.
CacheReader pragmaWhile W is pendingAfter rollback
privateOFF00
privateON00
sharedOFFSQLITE_LOCKED_SHAREDCACHE0
sharedON10

Only shared cache plus reader opt-in exposes 1 here; after rollback all four readers obtain 0. The locked case returns an error, not a numeric result. Private-cache reads of 0 reflect this small, unspilled write schedule, not a promise that every rollback-journal read is nonblocking.

SQLite's option leaves write-lock and schema-lock requirements intact. SQLite discourages shared-cache mode; this example explains its semantics, not a performance tuning recommendation. [Shared-cache documentation]

Reproduce with the Python probe and tests; inspect recorded results and SQL traces and method and commands. This is a same-host SQLite demonstration, not a PostgreSQL experiment, an engine-wide conformance check or a crash-durability test.

Read Committed does not freeze a transaction's view

Read Committed excludes dirty reads, but the name does not promise repeatable observations or prescribe one concurrency-control mechanism. Berenson et al. distinguish phenomenon-based definitions from locking implementations. [6, sections 2.2-2.3]

Constructed history, not an executed database test: one ordinary table row starts with committed version 0; there are no other writes. R and W use separate transactions; R uses PostgreSQL 18 Read Committed and makes no writes.

  1. R begins and its first ordinary SELECT returns version 0.
  2. W updates the row to version 1; its commit completes before R starts the next SELECT.
  3. R issues a second ordinary SELECT, which returns version 1, then commits.

Both observations are committed values; the second statement has a new snapshot. One transaction wrapper did not make the pair repeatable. A transaction's own earlier writes are visible to its subsequent reads too. [5, section 13.2.1]

Updating commands have a different boundary

In PostgreSQL 18, an UPDATE can wait for a concurrent updater. If that updater commits, PostgreSQL rechecks the WHERE condition against the changed row before applying the operation; a deleted row is ignored. The command can therefore act on a newer row version than its original statement snapshot would expose. [5, section 13.2.1]

Choose isolation for the whole application invariant, not merely the absence of dirty reads. The example says nothing about crash survival and does not establish the behavior of another database carrying the same level name.

A conflict can exist outside the read's snapshot

Measured native behavior, PostgreSQL 16.15: a get-or-create statement returned zero rows after waiting for a competing insert to commit. A later SELECT found the committed identity. The unique constraint worked; the same-statement fallback read still used its earlier snapshot. [PostgreSQL 16, section 13.2.1]

The fixture table has key text PRIMARY KEY and id integer NOT NULL. A inserts key blob with identity 101 without committing. B proposes identity 202 using this exact statement:

WITH ins AS (
  INSERT INTO objects (key, id) VALUES ('blob', 202)
  ON CONFLICT (key) DO NOTHING RETURNING id
)
SELECT 'inserted' AS origin, id FROM ins
UNION ALL
SELECT 'selected', id FROM objects WHERE key = 'blob'

A separate observer confirms that B is waiting on A's transaction ID before releasing A. Uniqueness arbitration must consider the conflicting inserter's outcome; it does not refresh the fallback SELECT's snapshot. Data-modifying WITH components and their main query share a snapshot, while RETURNING communicates the modifying component's output. [Index uniqueness checks] [WITH, section 7.8.4]

Ten prescribed cases in each of two matching fresh-cluster captures. RC = Read Committed; RR = Repeatable Read. IDs 101 and 202 are explicit fixture values.
CaseFirst resultNext lookupCTE retryUPDATE triggers
rc_commit[][["101"]][["selected","101"]][]
rc_rollback[["inserted","202"]][["202"]][["selected","202"]][]
rc_precommitted[["selected","101"]][["101"]][["selected","101"]][]
rc_no_writer[["inserted","202"]][["202"]][["selected","202"]][]
rr_commitSQLSTATE 40001[["101"]][["selected","101"]][]
rr_rollback[["inserted","202"]][["202"]][["selected","202"]][]
rc_noop_update[["101"]][["101"]][["selected","101"]][["ROW"],["STATEMENT"]]
rc_conditional_update[][["101"]][["selected","101"]][["STATEMENT"]]
rc_plain_select[][["101"]][["selected","101"]][]
rc_delete_before_retry[][][["inserted","202"]][]

An empty [] is not an SQL error. In rr_commit, the next lookup and retry occur after ROLLBACK and a fresh transaction; the failed transaction first rejects a command with SQLSTATE 25P02. Other retries are new statements in the same reader transaction. [PostgreSQL 16, sections 13.2.1-13.2.2]

The workaround changes the application contract

The unchanged-value DO UPDATE SET id = objects.id RETURNING id returned 101, but fired both AFTER UPDATE row and statement triggers. Adding WHERE false returned no identity and still fired the statement trigger. RETURNING excludes a row locked but not updated; statement-level UPDATE triggers do not require an actual row update. [INSERT] [Trigger behavior, section 39.1]Neither rewrite is equivalent to a read-only lookup. No WAL-volume or throughput cost was measured.

The conditional update still locks the conflicting row even when its predicate prevents the row change: this is not a lock-free lookup. This is a documented constraint, not a lock-duration measurement in this experiment. [INSERT]

The deletion control made the next lookup empty again; a subsequent CTE inserted 202. For an object catalog, separate duplicate rejection, returned identity, identity lifetime, matching metadata and durable payload. A bounded retry policy still needs a rule for deletion and recreation; one extra SELECT is not an unconditional success guarantee. This experiment does not validate payload equality or cross-system atomicity.

These are controlled software observations on one PostgreSQL 16.15 build, not a field failure rate, crash test, new database defect or PostgreSQL 18 execution. Same-host repetition is not independent replication. RLS, arbitrary triggers, additional writers and external object stores are outside the tested scope.

Reproduce and inspect: complete offline packet, method and commands, generated JSON, CSV, first capture, repeat capture, source provenance. The packet includes executable code, regression tests and file hashes.

MVCC separates version visibility from commit guarantees

Multiversion concurrency control (MVCC) retains data versions and selects what a read may observe. It is a family of concurrency-control techniques, not one isolation level or a promise of lock-free execution. Bernstein and Goodman analyze timestamp-based, locking-based and mixed multiversion algorithms. [Multiversion theory, sections 1 and 4-6]

Separate the lifetime of the read view from the rule for committing writes. In PostgreSQL 18, ordinary Read Committed queries use statement snapshots; Repeatable Read keeps the view established by the first non-transaction-control statement, while still seeing its own writes. The latter implements snapshot isolation, not serializability. Serializable adds checks for dependencies that could make a committed execution nonserializable. [5, sections 13.2.1-13.2.3] The engine and operation matter: even an ordinary SELECT takes ACCESS SHARE, which conflicts with ACCESS EXCLUSIVE. [Explicit Locking, section 13.3.1]

Retention has a separate boundary. PostgreSQL keeps old row versions while transactions may still need them; VACUUM makes eligible dead-version space reusable. Ordinary VACUUM usually leaves that space inside the same file. An MVCC read view therefore does not imply a historical archive, a backup, or immediate disk-space return after a reader finishes. [Routine Vacuuming, section 24.1.2]

A useful historical boundary: multiversion does not require unlimited history. Section 5 describes particular algorithms that need at most two versions per item: a certified before-value and at most one uncertified after-value. Their recovery integration is a design choice, not a description of PostgreSQL's version-retention policy or a guarantee that every MVCC reader avoids waiting. [Multiversion theory, section 5]

Finally, a visible committed version is not proof of durable acknowledgement. PostgreSQL asynchronous commit may return success before its WAL is durable, so a crash can lose recent acknowledged transactions. Ask separately which versions a read can see, which conflicts prevent commit, when old versions can be reclaimed, and what failure an acknowledgement survives. [Asynchronous Commit] These documented contracts are distinct from the native maintenance experiment below.

Repeatable Read needs an engine and a statement type

Repeatable Read forbids dirty and nonrepeatable reads at the SQL minimum. Phantoms and serialization anomalies remain allowed; an implementation can provide stronger protection. PostgreSQL 18 prevents phantoms but still permits serialization anomalies. [5, Table 13.1 and section 13.2.2]

Repeatable Read on transactional tables: documented behavior, not results from an engine experiment.

Read and write boundaries
Implementation / operationRead boundaryDo not infer
PostgreSQL 18 ordinary SELECTFirst non-transaction-control statement; own writes visibleSerializable execution
MySQL 8.4 InnoDB consistent SELECTNormally first consistent read; own writes visibleEvery later command uses this view
MySQL 8.4 InnoDB locking reads / writesCurrent state for locking, not the earlier consistent-read viewOnly previously visible rows can be affected

InnoDB UPDATE or DELETE can affect rows that an earlier ordinary SELECT could not see. Mixing locking operations with nonlocking reads therefore needs reasoning about both views. [54, section 17.7.2.3] [55, section 17.7.2.1]

InnoDB START TRANSACTION WITH CONSISTENT SNAPSHOT can establish the snapshot immediately. It does not select an isolation level; the modifier is effective only at Repeatable Read. [56, section 15.3.1]

PostgreSQL's concurrent-update serialization failures require retrying the whole transaction, including the decisions that chose its writes, not just the failed statement. Another attempt may fail. [28, section 13.5]

A snapshot does not freeze table storage. PostgreSQL TRUNCATE and table-rewriting ALTER TABLE can leave the table empty to an older snapshot after the DDL commits. This requires that the transaction had not already accessed that table: prior access holds an ACCESS SHARE lock that blocks the DDL. The resulting mismatch can be between tables, not successive reads of a table already locked by the reader. [57, section 13.6]

InnoDB consistent reads do not span DROP TABLE or copy-based ALTER TABLE that replaces the original table. The latter can return ER_TABLE_DEF_CHANGED and require retrying the transaction. Snapshot visibility and protection against concurrent table replacement are separate questions. [54, section 17.7.2.3]

For a migration, record the engine version, snapshot boundary, statement type and retry policy. This documentation comparison is separate from the native SQLite experiment above and says nothing about crash survival.

An old snapshot can lose old rows or see a later import

We reproduced a less obvious maintenance boundary on PostgreSQL 16.15: a Repeatable Read reader first read a marker table, then first accessed an objects table after another session refreshed it and committed. The refresh and marker update committed together. Yet the old reader could see the original objects, no objects, or the replacement object, depending on the operation.

DELETE plus INSERT preserved the original view. TRUNCATE plus INSERT or ordinary COPY produced an empty old view, although a fresh read found the replacement. An integer-to-bigint ALTER TABLE also produced an empty old view without changing the application values. This demonstrates visibility, not lost stored data. PostgreSQL documents the heap-replacement exception. [MVCC caveats, PostgreSQL 16]

After TRUNCATE followed by COPY FREEZE, the old reader instead saw the replacement object together with marker 0 from before the writer's transaction. The loader's eligibility checks do not establish that all other sessions lack older snapshots. The documentation warns about this visibility change; the pinned implementation requests frozen insertion and skips the ordinary inserting-transaction snapshot exclusion for frozen xmin. [COPY FREEZE] [CopyFrom] [Heap visibility]

Twelve fixed cases, repeated on one PostgreSQL 16.15 build. O = original rows (1,10) and (2,20); N = replacement (3,30). RR = Repeatable Read. Marker starts at 0; writer sets it to 1. All target reads follow writer completion.

Native maintenance observations
CaseReader rowsReader markerFresh rowsWriter error
RR: DELETE + INSERTO0Nnone
RR: TRUNCATE + INSERTempty0Nnone
RR: integer-to-bigint rewriteempty0Onone
RR: constant-default columnO0Onone
RR: refresh rolled backO0Onone
RR: ordinary COPYempty0Nnone
RR: COPY FREEZEN0Nnone
RR: FREEZE rolled backO0Onone
RR: target read firstO0O55P03
RR: explicit table lockO0O55P03
Read Committed: refreshN1Nnone
RR: only BEGIN before refreshN1Nnone

Reading the target first, or explicitly holding ACCESS SHARE, blocked TRUNCATE: both controls hit the prescribed lock timeout (55P03). Rolling back either refresh restored the original rows. A constant-default column addition kept the old rows and heap identity. Merely issuing BEGIN before the writer did not establish the early snapshot. The raw captures retain lock, heap and statement-order witnesses alongside these results.

For a bulk refresh or migration, record the operation, loader options, snapshot establishment point and table-lock coverage. Disabling FREEZE alone leaves the TRUNCATE exception. Evaluate a row-versioned update path or coordinate maintenance with readers, including contention and timeouts. Transaction rollback safety is a separate property from old-snapshot visibility. [TRUNCATE notes]

This is not a write-skew reproduction: the observing transaction does not write application data. Berenson et al. distinguish read skew across related items from write skew caused by concurrent writers, and their Snapshot Isolation model excludes the former while allowing the latter. Here the mixed view comes from documented maintenance and import exceptions to ordinary MVCC visibility. Do not interpret it as a permitted ordinary snapshot read, or infer that the writer exposed uncommitted rows. [Berenson et al., section 4.2] [PostgreSQL maintenance scope]

Method: twelve prescribed cases in each of two retained fresh private clusters, plus a matching later-session replay. Fixtures are synthetic; query results are native observations. Only PostgreSQL 16.15 was executed. Same-host repetition is not independent replication, a field rate, a performance benchmark or a new database defect. No uncommitted frozen rows, PostgreSQL 18 execution, crash survival or multi-table locking strategy were tested.

Reproduce and inspect: offline evidence packet, method and commands, generated results, first capture, repeat capture, six pinned source receipts, file hashes. Hashes detect changed bytes; they are not authenticity signatures.

Can the reader assemble a state that never existed?

Consider a metadata service with two records: a manifest and its index entry. Initially both are version 0. One transaction publishes version 1 of both, with an indivisible commit. A reader obtains manifest 0, the commit occurs, and then it obtains index 1. Each individual read is current when performed. The pair still never existed as a committed database state.

This is an original schedule, not a failed database run. It also shows why checking that the writer commits atomically is insufficient: the reader needs a contract covering the whole read set. PostgreSQL 18 documents a practical boundary: successive SELECT statements at Read Committed can use different snapshots; Repeatable Read retains a transaction snapshot. [5, sections 13.2.1-13.2.2]

With the writer updating both records in one transaction, put both current reads in one strict-serializable transaction. With no other writes, a successfully committed reader overlapping the successfully committed writer can return both version 0 or both version 1, but not the mixed pair. If the writer commits successfully before the reader begins, a successfully committed reader must return both version 1. Plain serializability alone could order the later reader before the writer. This committed-history property does not by itself cover observations from aborted transactions. This is a deduction from the definitions, not an additional database experiment. [1, section 3.3]

Read Atomic isolation prevents fractured reads: observing one transaction's version alongside an older version of an item it wrote. A later replacement of that companion version is allowed. Uncommitted, aborted and intermediate writes are excluded too. [11, section 3.1]

The items need not differ. Within one read-only transaction, x0 then x1 and x1 then x0 both fracture when those versions come from distinct committed transactions. Reading x1 twice does not. A coherent old result can still satisfy RA; atomic visibility alone does not promise the latest values. [11, section 3.1 and Appendix]

The executable example labels committed versions by per-key rank, not bytes or wall-clock time. A later transaction replaces only the index with version 2. The table checks the versions actually read; it does not require reading every key a writer touched.

Version visibility
Read sequenceVersions returnedNo fractureForward visibility
Both oldmanifest 0 then index 0PassPass
Old then newmanifest 0 then index 1FailPass
New then oldindex 1 then manifest 0FailFail
Both publishedmanifest 1 then index 1PassPass
Later index versionmanifest 1 then index 2PassPass
Old manifest, later indexmanifest 0 then index 2PassPass

No fracture is not a shared point in time

In this constructed history, commit order is initial, publish, then revise-index. The committed pairs are (0, 0), (1, 1) and (1, 2). Yet the final row, manifest 0, index 2, passes: those versions never coexist in that history, but neither observed writer requires the missing manifest 1. The overwritten index 1 is not read. The RAMP paper limits RA to immediate, not transitive read dependencies. This is a limit of the isolation definition, not a prediction of RAMP behavior: its implementations add ordering and recency guarantees beyond RA. [11, Appendix: Comparison to other isolation levels]

Why the read order matters for a weaker guarantee

The HAT paper's Monotonic Atomic View (MAV) constrains subsequent reads after a writer's effect is observed. Alone, it permits old-then-new: it does not repair the earlier observation. New-then-old violates that forward constraint. The paper combines MAV with item cut isolation to prevent read skew. [12, section 5.1.2]

The downloadable checker tests these read-only histories over known, committed final versions. It has no replication, failure, time or causal-dependency model, and does not implement RAMP or certify full isolation. Tests cover both read orders, every two-key version combination and repeated reads of one key.

The model behind the label matters. Biswas and Enea's consistency-checking formalization includes session order and reads-from edges; its RA condition includes read-my-writes across a session. Causal consistency additionally follows transitive dependencies, while prefix consistency constrains reads to a prefix of some total commit order. Our checker receives only writer identities, per-key ranks and one read sequence. It cannot establish those additional history conditions. A passing result means no direct fracture in the supplied read set, not acceptance by every formal model named RA. [32, section 2, Table 1 and Figure 2]

How RAMP makes missing versions retrievable

RAMP uses version metadata and a prepare/commit protocol so a reader can fetch a missing companion version. This separates atomic visibility from mutual exclusion. It does not prevent lost updates or write skew. Its progress condition requires reaching the relevant partitions; a stalled transaction may retain prepared versions. [11, sections 3.2-4.1 and 4.6]

For an application, choose the smallest read and write scope that covers its invariant, then verify the database's documented isolation behavior. A coherent pair of metadata records does not by itself prove that the referenced storage objects exist, have been verified or will survive failure.

Different rows can still break one invariant

Snapshot isolation rejects overlapping writes to the same data, but does not generally validate every read dependency. [6, section 4.2] Here is an original metadata example: flags A and B start enabled, and a maintenance transaction may disable its own flag only if it reads more than one enabled flag. This is database metadata, not proof that any physical replica is healthy.

Both concurrent transactions establish their snapshots while A and B are enabled. Each therefore reads 2 and writes a different flag. The module computes this schedule and both possible serial transaction orders:

Constructed two-flag example. Required invariant: at least one flag remains enabled.
ScheduleCount read by ACount read by BEnabled at end
Concurrent snapshots220 (neither)
Serial A then B211 (B)
Serial B then A121 (A)

Neither serial order produces the concurrent outcome. Each serial second transaction sees one enabled flag and leaves it alone. This is write skew, not two writers overwriting the same value. Checking only the version of each flag being written would also miss the cross-key dependency.

The comparison is a small counterexample, not a general serializability checker. A real assessment must account for read results and dependencies, not merely compare final values. See the same executable module used by these tables. Serializable execution or a correctly designed locking protocol must cover the whole invariant, not just the row being updated.

Lock the dependencies, not only the writes

Two-phase locking (2PL) separates acquiring locks from releasing them. Once a transaction unlocks an item, it cannot acquire another lock. Suitable shared and exclusive locks must cover the conflicting accesses; this discipline yields conflict serializability. It does not promise deadlock freedom. [Bernstein et al., sections 3.2-3.4]

In the two-flag example, suppose both transactions retain shared locks on both flags, then each requests an exclusive lock on its own flag. Each upgrade waits for the other's shared lock: a deadlock, not two successful disjoint writes. Resolving it requires intervention such as aborting one attempt. This is a constructed lock trace, not an executed database test.

Basic 2PL may unlock before commit and allow cascading aborts. Holding exclusive locks through commit or abort prevents other transactions from reading or overwriting those uncommitted writes. Holding shared locks too is often called rigorous 2PL; Bernstein et al. call that stronger retention rule Strict 2PL. State the actual rule when comparing systems. [Author slides, 16.9] [Section 3.5]

For a scan or absence check, locks on returned rows alone are insufficient: a concurrent insertion can change the predicate result. Protect the relevant predicate or index range, including possible new rows. [6, section 2.3] PostgreSQL's nonblocking SIReadLock tracking uses a different mechanism, discussed below. [5, section 13.2.3]

Lock granularity has another trap: a key and its preceding range are distinct dependencies. Lomet's VLDB 1993 analysis shows that, for unique keys, combining those resources with conventional lock modes can block an insertion before a singleton-read key even when the operations do not logically conflict. His composite range/key modes retain the distinction within one resource. Compare both resource boundaries and mode compatibility, not just the number of locks. [Lomet, sections 3.2 and 4.1]

Do not confuse 2PL with two-phase commit. PostgreSQL's PREPARE TRANSACTION supports a coordinated commit decision across transactional resources and retains locks while prepared. It is not the transition between acquiring and releasing locks. [PREPARE TRANSACTION]

Optimistic execution still needs the right validation

Optimistic concurrency control (OCC) allows speculative transaction work, then checks whether the attempt can commit under its isolation contract. Kung and Robinson's classic design separates reading and private updates, validation, and publication of accepted writes. Its checks include read/write sets and overlapping phases, not just two writers choosing the same row. Failed validation restarts the attempt. [Kung and Robinson, sections 2-4]

The two-flag example above shows why the validation scope matters. Both transactions read both flags, although their writes are disjoint. With validation and publication serialized together, a validator that rechecks all read versions must reject stale dependencies; the second attempt must reject its stale read after the first commits. Checking only the row each transaction writes misses that dependency. This is an interpretation of the existing constructed example, not an executed OCC engine or a general validation algorithm.

OCC is not a synonym for multiversion concurrency control (MVCC), nor does its name select Serializable isolation. Larson et al. describe both optimistic and pessimistic multiversion methods. In their optimistic design, serializable transactions validate read versions and recheck scans for phantoms; Repeatable Read omits phantom checks, and Snapshot Isolation omits read and scan validation. Those differences belong to that design, not to every engine with the same isolation labels. [Larson et al., sections 3.1-3.4 and 6]

An empty result is also a dependency. Silo validates versions of index leaves overlapping a scan, not only the records returned. A failed lookup tracks the leaf where the missing key would belong. Otherwise a concurrent insert can invalidate an absence check without changing any previously returned row. [Silo, section 4.6] The six-schedule constructed example makes this distinction inspectable; it is not a native Silo execution.

There is also a progress cost: the classic algorithm may restart an attempt when the history needed for validation is no longer retained. Repeated restarts can starve a transaction, and the algorithms use short critical sections. An optimistic policy is not a universal lock-free or bounded-retry promise. [Sections 3.3-5]

For a concrete implementation, SQL Server memory-optimized tables have distinct update, read-validation, phantom-validation and dependency failures. Its read and phantom validation can also enforce unique and foreign-key constraints under Snapshot isolation, so the isolation label alone does not identify every validation check. Applications need the documented retry handling. For durable transactions, commit processing must also log the changes: passing the concurrency checks alone is not durable completion. [Commit processing; conflict detection and retry logic] Keep this separate from optimistic crash consistency, which addresses persistence ordering and recovery. [OptFS, sections 4-5]

SSI tracks dependencies, not just matching rows

Serializable Snapshot Isolation detects potentially cyclic read-write dependencies. Two adjacent rw-antidependencies are necessary in a snapshot-isolation serialization cycle, but do not prove a cycle. PostgreSQL refines detection using commit order and read-only status; conservative detection can still reject a serializable history. [7, sections 3-4 and 5.4]

Its SIReadLock predicate tracking does not block writers. Do not confuse it with SELECT FOR UPDATE, or infer that ordinary write locks cannot wait. PostgreSQL 18 uses SSI for Serializable, not Repeatable Read. [5, section 13.2.3]

A 40001 retry must repeat the transaction's decisions as well as its SQL. Further conflicts can require further attempts, so correctness does not establish a retry-count or completion-time bound. [Serialization Failure Handling, section 13.5] This section explains the sources; the two-flag module above does not implement SSI.

SSI is a concurrency-control mechanism for serializability. The stronger property of strict serializability additionally constrains real-time order. Check that stronger guarantee for the specific system and API; the mechanism's name alone does not establish it. [1, section 3.3] [7, sections 3-4]

Query plans change the conflict footprint

A sequential scan takes relation-level predicate coverage in PostgreSQL 18. Combining finer locks into coarser coverage under memory pressure can increase serialization failures; this tracking still does not block writers. An index plan may reduce restarts but must be weighed against its query cost. [5, performance guidance] max_pred_locks_per_transaction sizes shared tracking capacity, not a hard per-transaction allowance. [Lock Management] The original SSI paper also explains why long-running transactions can retain other transactions' conflict state after commit. [7, section 6]

Read-only does not automatically mean safe

Ports and Grittner show how a read-only transaction can participate in a serialization anomaly and derive safe snapshots for such readers. Their PostgreSQL 9.1 implementation paper is historical implementation evidence, not a benchmark of PostgreSQL 18. [7, sections 2.1.2 and 4]

PostgreSQL 18 supports SERIALIZABLE READ ONLY DEFERRABLE: it may wait for a safe snapshot, then avoids serialization-failure retries caused by concurrent transactions. This is not a bound on waiting time or protection against every other error. [5] The paper explicitly distinguishes snapshot safety from how soon a suitable snapshot becomes available. [7, section 4.3]

A successful query is not a successful transaction. PostgreSQL 18 says to keep SERIALIZABLE reads from permanent user tables provisional until successful commit, including ordinary read-only serializable transactions. The documented exception is SERIALIZABLE READ ONLY DEFERRABLE, which obtains a safe snapshot before returning data. This concerns serialization anomalies, not freshness or immunity from other errors. [5, section 13.2.3]

Operational consequence: do not announce a database change before its transaction successfully commits. Waiting until after commit still leaves a crash gap before delivery. A transactional outbox records the pending event in the same transaction as the data change; a separate process sends committed events. Duplicate delivery remains possible and requires idempotent handling. These delivery obligations are separate from SSI conflict detection. [Transactional outbox: failure and duplicate-message boundaries]

Session guarantees protect different dependencies

Read-your-writes requires later session reads to incorporate its prior successful writes. A subsequent write can supersede their exact values. Monotonic reads instead protects write effects relevant to earlier reads: changing replicas must not erase those observations. Neither alone demands the globally freshest state. Terry and colleagues specify them separately. [2, sections 3.1-3.2]

If no reachable replica can satisfy a session dependency, preserving the guarantee may require waiting or refusing the operation. A client reconnecting without its session context must not assume the guarantee continues automatically. The system's actual session protocol determines that boundary. [2]

Two write guarantees complete the picture

Monotonic writes preserves the session's write-to-write dependencies. Writes-follow-reads instead preserves dependencies on updates relevant to previous session reads. In the full Terry definitions, a replica incorporating the dependent write must also incorporate its prerequisite updates and order them before it. This constrains what other clients can observe, too. [2, sections 3.3-3.4]

Original constructed histories in one fully replicated metadata database. No rollback, deletion or concurrent overwrite is assumed.

Two dependency histories
Session historyInvalid replica stateRequired dependency
S writes manifest M, then writes default = M, without readingB incorporates default = M but has not incorporated the creation of MMonotonic writes: creation of M precedes the default update on every replica incorporating it
Another session creates M; S reads M, then writes audit-record = MB incorporates audit-record = M but has not incorporated the creation of MWrites-follow-reads: the update observed by S precedes S's dependent audit record

In the first history there is no read: read-your-writes and monotonic reads have nothing to check. In the second, S has only one write, so ordering its own writes is insufficient. These examples isolate dependency types; an audit record here is metadata, not evidence that a backup was actually tested. Neither example makes the two updates an atomic transaction.

Ordering and propagation can fail separately

Terry et al. also distinguish ordering-only and propagation-only variants of writes-follow-reads. The full guarantee requires both. [2, section 3.3]

Original two-write model: S reads the effect of W1, then issues W2. A replica snapshot lists incorporated writes; the fixed logical order lists how the system orders them. Logical order is not network arrival order.

Calculated dependency checks
CaseLogical orderIncorporatedOrderPropagationBoth
Ordered, prerequisite absentW1 then W2W2PassFailFail
Both present, reverse orderW2 then W1W2, W1FailPassFail
Both present, correct orderW1 then W2W1, W2PassPassPass
Neither incorporated yetW1 then W2NeitherPassPassPass

The last row is deliberately stale yet satisfies these safety checks: they impose no deadline for delivery. "Pass" evaluates this pair and snapshot, not every replica over time. The executable model enumerates both orders and all four subsets in its tests. It assumes the dependency is already known; it is not a general consistency checker, a database run or an estimate of failure probability.

A session label is not a complete deployment contract

MongoDB documents all four guarantees for causally consistent sessions using majority read and write concerns, with one thread using a session at a time. Other sessions may interleave operations; transferring dependencies between sessions requires the documented operation-time and cluster-time handling. [8] Its separate concern matrix distinguishes ordering guarantees from durability and rollback behavior. [9]

Session identity is also implementation-specific. Azure Cosmos DB documents partition-bound session tokens: recreating a client loses its cached tokens, and reads without the relevant token can behave as eventual reads. A token establishes a minimum version, not a request for a historical snapshot. [10] Check covered operations, objects and dependency transfer before treating a session setting as a system-wide contract.

Timeout and durability need their own contracts

etcd documents durable completion separately from ordering. It also distinguishes a completed request from a timeout whose result may be unknown. Do not treat a lost response as proof that a write failed or blindly repeat a non-idempotent action. [4, Operation completed]

A hypothetical volatile in-memory register can implement ordered operations during execution without promising recovery after power loss. That illustrates why an ordering label alone is not a persistence contract; it is not a claim that etcd behaves this way. For the storage path, see NFS stable writes, flush and FUA. For uncertain outcomes, see storage timeouts.

Current reads, historical reads and watches

In etcd v3.6, a positive RangeRequest.revision selects that snapshot if retained; zero or negative requests current state. An old value from an explicitly historical request is not evidence of a failed current-read guarantee. The separate serializable=true option permits member-local stale reads. Keep these choices distinct from the scope of Txn. [API reference: RangeRequest and TxnRequest]

Watches preserve revision order but are not linearizable. A quiet watch therefore does not establish that no update has committed; delivery has no guaranteed deadline. This observation boundary is separate from whether a timed-out write committed. [4, Watch APIs]

Watch progress can be stale; a quiet key can be current

A progress notification is evidence about stream coverage, not proof that the attached member has caught up with the quorum. In Hesela's controlled three-member etcd 3.6.16 experiment, an isolated follower still returned old and emitted two genuine progress notifications at revision 2. The connected majority had already returned new at revision 4. This matches the documented contract, not a newly discovered etcd defect. [Watch progress]

Native observations; 5 repeat runs agree. Revision numbers are logical versions, not elapsed time.
ObservationValueRevision evidence
Isolated follower, local readold2
Isolated follower, progress twiceNo key event2, 2
Majority, current readnew4
Healed watch, missing updatenewEvent 3; progress 4
Another key changesnewKey last changed 3; progress 5

Healing the peer connection delivered the missing revision-3 update before progress 4. A later write to another key advanced progress to 5 while the watched key's modification revision stayed at 3. Requiring the last matching event to equal the global revision would incorrectly reject this current view. The pinned implementation sends progress for synchronized watchers using the local store revision. A future start cursor above that revision suppresses progress; a creation reply is not a progress notification. [Pinned MVCC implementation]

Use an explicit reference point. Obtain a successful current, linearizable read at revision Q in the same cluster history. For a correctly scoped continuous watch, wait for genuine progress P >= Q and apply preceding matching events to a coherent cache. Begin with a valid snapshot and resume from its revision plus one; handle compaction, cancellation and history changes. A timed-out reference read supplies no barrier. This is a reference-point condition, not a complete cache protocol or a promise to include later concurrent writes. [4, Watch APIs]

Receiving is not applying. The separate dictionary model still contains old while the received event is pending; applying it yields new. The model is not a production-cache measurement. Raft's read-only discussion likewise separates safe reads from merely having a replicated log; it does not specify etcd's watch API. [35, section 8]

Method: invented keys, one host, a pinned build and a user-space partition of peer communication over loopback. The five runs establish repeatability of this designed case, not its prevalence. No throughput claim, hardware fault or production cluster was involved. Download the reproduction method, validated observations and code, captures and tests. See also the strict-serializability entry.

CCFS: a stream boundary can acquire dependencies

CCFS keeps updates ordered within streams while separating independent applications. This reduces unnecessary flushing and preserves opportunities to discard superseded writes. It uses hybrid-granularity journaling, not one physical queue per application. [CCFS, sections 2-3]

A file created inside another stream's new directory depends on that directory. The prototype can temporarily merge pending related streams. Ordinary setstream honors fsync; opting into IGNORE_FSYNC requires streamsync at durability boundaries. This is not advice to remove synchronization from ordinary filesystems. [CCFS extended, sections 3.2 and 3.5]

Different stream IDs do not isolate shared data. The prototype also relates updates to the same regular file, explicit changes to the same inode attributes, and operations on the same directory-entry name. In contrast, creating different entries in an already existing directory does not itself couple the streams. Stream selection must follow the application's actual dependencies, not just its thread count. [CCFS extended, sections 3.2 and 3.5]

Four effects, two streams

Our constructed example has four distinct, indivisible recovered effects. Stream A issues A1 then A2; stream B issues B1 then B2. A1 represents unrelated data, A2 a new directory, B1 a file in that directory, and B2 another update. Bits below are A1 A2 B1 B2. The independent control instead assumes B1 has no prerequisite in A. No torn effects, overwrites, device errors or transaction batching are modeled.

Exact enumeration of 16 Boolean subsets, including the empty state.
Required contractAllowed subsets
No ordering constraint16
One total order5
Two independent ordered streams9
Streams plus A2 before B15
Independent, B1 must survive6
Related, B1 must survive2

Two independent length-two streams admit 3 x 3 = 9 prefix pairs. Adding A2 before B1 leaves 5. Requiring B1 to survive leaves 6 independent states but only 2 related states: 1110 and 1111. Thus a durability request concerning B can pull in A1 even though A1's contents do not help B. The unsynchronized B2 may survive too; a lower bound is not an exact snapshot.

These are allowed states of the stated logical constraints, not all states reachable in the prototype. Transaction grouping can impose stronger restrictions. Cardinalities are not crash probabilities or I/O counts. Executable model,independent prefix oracle and complete enumeration make the calculation inspectable.

The paper separates Alice model-based checks from BoB block-trace replay; the latter covers a subset of crash images. Its Linux 3.13-era results are not a current-filesystem ranking. Hesela ran only the finite model above, not a native CCFS recovery experiment. [CCFS extended, section 4.1]

A consistent prefix can still lose recent writes

OptFS separates ordered recovery from immediate durability: osync() permits a missing suffix, while dsync() waits for persistence. Its Linux 3.2 prototype also needed checksums, controlled reuse and checkpointing; disabling flushes alone is not the design. [13, sections 4-5]

The prototype approximated durability notifications with a device timing assumption; underestimating it compromises consistency. This is not permission to replace a persistence operation with a sleep. Its 400 simulated crash scenarios are bounded evidence, not a proof over every device. [13, sections 5.1 and 6.1]

Eight states, four different questions

Our constructed example issues W1, W2 and W3 in order, updating three distinct records. Each recovered effect is either completely present (1) or absent (0). There are no torn writes, overwrites, concurrent writers or media corruption. The bits below describe the recovered logical state, not raw sectors before journal replay.

Bits are W1 W2 W3. Each row is a possible input to our predicates, not an equally likely crash outcome. ACK depends on W1 and W2.
Recovered bitsOrdered prefixPrefix plus W1, W2 durableAll three durableACK prerequisites durable
000YesNoNoNo
001NoNoNoNo
010NoNoNoNo
011NoNoNoNo
100YesNoNoNo
101NoNoNoNo
110YesYesNoYes
111YesYesYesYes

With no constraints, our state space has eight members. The prefix predicate retains four: 000, 100, 110 and 111. Requiring the first two writes to survive retains two; requiring all three retains one. Thus 000 passes ordered-prefix safety while retaining none of the new work. Conversely, 101 contains the newest write but breaks the declared dependency on W2.

A durability promise establishes a lower bound, not an exact snapshot: after W1 and W2 are durable, an unsynchronized W3 may also survive. This is why 111 remains allowed beside 110. For n distinct binary effects, there are 2^n unconstrained subsets and n+1 prefixes. These are cardinalities, not failure rates or measured recovery outcomes.

Which observer saw success?

Rethink the Sync takes another route: xsyncfs lets an application proceed, but delays causally dependent external output until its storage dependencies commit. Dependencies propagate across local communication. Its contract concerns the external observer, not merely a syscall return. [14, Design Overview and Implementation]

The paper requires matching output values and causal order. Hesela interprets this as a semantic guarantee, not identical wall-clock timing. A disk commit also counts as external output: a crash and reboot can expose the changed storage state. External synchrony does not itself promise atomic writes or prevent disk corruption. The xsyncfs prototype used ext3 full-data journaling; journal-transaction atomicity is an additional implementation property, not an automatic consequence of the external-synchrony contract. [18, sections 2.2 and 3.2-3.3]

In our example, process A writes W1 and sends a local message to B. B then writes W2 and prepares a remote ACK. The ACK depends on both writes; checking only B's own W2 would incorrectly allow state 010. A local response, queued network output and externally observed ACK are three different events. Our checker assumes that dependencies are supplied correctly; it does not discover them from a program.

Tracking a dependency is not observing a read

The prototype conservatively treats processes with write permission to a shared region as writers and those with read permission as readers. A new dependency transfers without an observed read; the same approach covers mapped files, and one thread's dependency reaches all threads in that process. This avoids per-access tracking but can delay unrelated output. A recorded dependency is not proof of an actual data transfer. [14, section 3.5]

The 2008 journal evaluation supplies a concrete cost example: its two-machine MySQL test achieved lower throughput on xsyncfs than on asynchronous ext3 with write barriers. The diagnostic xsyncfs-noshm variant disabled shared-memory dependency propagation and nearly matched that comparator. Hesela's interpretation: this is not evidence of preserved guarantees for arbitrary shared-memory applications. These are the authors' historical measurements, not our ACK model's results. [18, sections 3.6 and 4.5, Figure 6B]

The authors used MySQL 5.0.16 with InnoDB and a modified TPC-C workload: the data fit in memory and inter-transaction wait times were removed. The remote setup used 100 Mbps Ethernet. Figure 6 reports means of five trials with 90% confidence intervals; it does not establish a universal throughput bound. [18, section 4.5 and Figure 6]

For the ACK example, our checker only evaluates supplied dependencies. It neither reconstructs a program's reads nor measures false dependencies. Its output is conditional on that supplied set, not an end-to-end proof.

Not every output path can be buffered. In the prototype, an ioctl can reach device-specific state outside the dependency tracker, so a dependent caller waits for commit before the operation proceeds. This differs from buffering a screen or network message while execution continues. The local MySQL experiment also used UNIX sockets to carry dependencies between processes; putting client and server on one host was not the entire setup. These are historical implementation conditions, not permission to defer commits across arbitrary IPC. [18, sections 2.3, 3.4 and 4.5]

Delayed output is not application rollback. The journal paper explains that a catastrophic media error can arrive after the application has continued. The authors considered checkpointing and rolling back the process to deliver that failure, but rejected the approach for complexity and cost. The dependency records do not retain rollback data. Our Boolean ACK predicate models neither failed commits nor recovery from such errors; a passing row does not establish those capabilities. [18, sections 2.5 and 3.1]

The historical xsyncfs prototype used ext3 and Linux 2.4.21; its limitations include late media errors and cross-filesystem coordination. The authors propose blocking a process before it modifies a second filesystem until its earlier dependencies commit. That is not evidence of an implemented cross-filesystem transaction. Neither paper establishes these guarantees for an ordinary current filesystem. [14, Limitations and Methodology] Do not confuse the OptFS call names with Linux O_SYNC or O_DSYNC.

Executable predicates and all eight rows, assumptions and code hash are public. Tests enumerate the state space and independently construct its prefixes. This is a teaching model, not an implementation of either paper, a crash experiment or a performance comparison.

Corpus: optimistic crash consistency and external synchrony. For actual fault-test scope, see crash-test oracles and bounds.

Valid signatures do not establish a shared history

Two clients can accept authentic operations while seeing incompatible histories. A successful content-hash check answers a different question: whether these bytes match, not whether another acknowledged operation was concealed. Freshness and agreement need their own evidence.

SUNDR makes the retained client state explicit: the user must know their last operation, including when moving to another client. In its simple full-history construction, honest clients check their prior operation before signing. Once their histories fork, the server cannot silently reconnect their subsequent operations while those assumptions hold. Detection requires seeing the other history or communicating; it is not necessarily immediate. [SUNDR, sections 2, 3.1-3.2]

Recovery includes the verifier's memory

Hesela's constructed example uses two clients, one authorized writer and a binary register. After a common history at value 0, A writes 1 and finishes. B then reads the old branch and obtains 0. Both branch-local signature checks pass. Comparing the complete authenticated histories detects the divergence; unequal head hashes alone would not distinguish it from an honest extension.

The next controls change only A's remembered checkpoint, called its anchor. The current anchor includes A's newer branch. The restored anchor is the older common prefix. Absent state means the driver has forgotten the checkpoint; it does not establish a new membership epoch.

Six deterministic controls, not failure frequencies. All offered histories contain valid signatures.
A's checkpointOffered historyAccepted
Current checkpointOld common prefixNo
Current checkpointB's divergent branchNo
Restored old checkpointOld common prefixYes
Restored old checkpointB's divergent branchYes
No checkpointOld common prefixYes
No checkpointB's divergent branchYes

With its older anchor restored, A accepts B's branch and signs a continuation that B also accepts. A separately retained newer checkpoint still rejects that continuation. Recovering the signing key therefore does not, by itself, recover the evidence needed to reject rollback. This is explicit in-memory state replacement, not a test of backup software, power loss or hardware counters.

A further control writes 0 again on A's branch. Both clients now read 0 and the payload hashes match, but their operation histories remain incompatible. Equal final content does not demonstrate agreement about the operations that produced it.

Which evidence answers which question?

RFC 9162 separates inclusion and append-only checks from agreement between observers, which requires sharing log responses. This Certificate Transparency comparison concerns audit scope; the Experimental RFC does not certify a storage system or specify a gossip protocol. [RFC 9162, sections 8.3 and 11.3]

Availability also depends on the chosen contract. Depot uses Fork-Join-Causal consistency and additional protocols so correct nodes can share updates after divergence. It does not promise SUNDR's permanent no-join condition. Reading an object still requires a correct reachable holder. [Depot, section 1]

A formal limit must retain its assumptions: Cachin, Keidar and Shraer rule out combining always-preserved fork sequential consistency with sequential consistency and wait-freedom when the server is correct, for at least two single-writer/multi-reader registers in their asynchronous server-mediated model without direct client communication. Our one-register illustration neither proves that theorem nor shows that all authenticated storage must block. [section 2 and Theorem 1]

Reproduce and interpret the evidence

The offline research package contains the frozen source, public fixture keys, original seven cases, recovery controls and a separate Node verifier. Run python3 -B -m unittest -v test_model.py test_review.py, python3 -B review.py and node verify_signatures.mjs from the extracted directory. Python requires the cryptography package; runtime versions and the original validation receipt are included.

The preserved baseline/ is deliberately defective historical code: alternate signature text could trigger a false fork report without changing the signed operation. The corrected model rejects noncanonical encodings; malformed input is not proof of server misconduct. Public fixture keys must never be reused as credentials. This is not a SUNDR, Depot or CT implementation, security proof, deployed-service audit or detection-time estimate.

Download the original results, recovery and encoding results, source locators and package hashes and provenance. The machine-readable definition is fork consistency. For a recovery audit, identify separately the protected bytes, authorized operations, retained checkpoint and cross-observer comparison channel.

Applying conditions to object storage

For the S3 boundary between content validators, metadata and publication, see ETags, checksums and conditional writes. The worked checksum example explains why identical object bytes can have different multipart values; the research bridge distinguishes an uploaded file from a table commit.

Method, limits and definitions

Primary-source review with constructed register and two-flag transaction schedules, calculated by a public module and checked against both serial transaction orders; not a storage benchmark or implementation conformance test. The session section adds two explicitly constructed dependency histories, not an executed database experiment. An executable two-write model separates logical ordering from prerequisite incorporation; tests enumerate both orders and all four replica subsets. A committed-version checker adds read-set and forward-visibility examples; it is not a RAMP implementation or a complete isolation checker. The NVMe extension enumerates eight synthetic conditional-update schedules and decodes the ACWU controller baseline; it does not issue device commands. A three-replica version-state illustration contrasts query-only reads with acknowledged read write-back; exhaustive finite tests cover 1728 state/quorum combinations, not a distributed implementation. A fixed two-register illustration enumerates all six client-order-preserving schedules; tests independently filter all 24 permutations and check read results from ordering constraints. A separate one-write, sequential-reader illustration classifies nine read pairs and checks atomicity by enumerating write positions; event positions are not measured time. The Raft extension reviews the extended paper and pinned etcd v3.6.0 read-path source; no consensus execution or timing experiment is performed. FLP and partial synchrony are primary-source synthesis, not a new impossibility proof or cluster measurement. The conflict-visibility supplement executes ten prescribed PostgreSQL 16.15 cases in each of two fresh private clusters. A third connection verifies a transaction-ID lock wait before the writer is released; the visible table is generated from the two original captures. A separate native SQLite 3.45.1 experiment executes four prescribed two-connection WAL schedules with complete SQL traces; detached operations, atomic arithmetic, version guards and stale-snapshot rejection are compared. The Repeatable Read comparison synthesizes PostgreSQL 18 and MySQL 8.4 documentation; no native comparison of those engines was run. The maintenance supplement executes twelve prescribed PostgreSQL 16.15 cases in two retained fresh private clusters; a later-session replay agrees. Its table is generated from verified raw observations. A separate four-case native SQLite 3.45.1 teaching example varies private/shared cache and the reader read_uncommitted setting before a writer rollback; SQL traces and versioned runtime identity are retained. The OCC supplement synthesizes Kung and Robinson, Larson et al. and SQL Server documentation; it interprets the existing two-flag example without executing a new concurrency-control engine. The 2PL supplement is primary-source synthesis with a constructed lock-upgrade trace, not an executed database test. The 2PC supplement reviews the classic atomic-commit protocol and PostgreSQL 18 prepared-state documentation; its state table is explanatory, not a failure experiment. The recovery-presumption comparison synthesizes R* and presumed-either; it is not an executed failure test or latency comparison. The Calvin supplement reviews the 2012 design and two 2014 studies, separating simulated replication delay and unsafe experimental controls from deployment evidence; no native Calvin execution was run. The SLOG supplement synthesizes remastering and replication boundaries from the 2019 paper and a pinned author README; the decision table is an explanation of the algorithm, not native observations. The consensus/state-machine supplement is primary-source synthesis with a constructed applied-prefix example, not an executed cluster experiment. The crash-recovery supplement is primary-source synthesis with a recovery-contract checklist, not an executed failure experiment or a new consensus proof. The fork-consistency supplement replays a deterministic two-client signed-history illustration with retained, restored and absent checkpoints; it is not a SUNDR implementation, backup-product experiment or security proof. The safety/liveness supplement classifies three constructed observations against explicit requirements using primary sources; it is not a protocol execution or proof of an implementation. The Paxos re-entry supplement compares historical recovery and checksum mechanisms with the durable-response obligation; it is source synthesis, not a recovery implementation or cluster test. The watch-progress supplement executes five three-member etcd 3.6.16 runs with a controlled loopback peer partition; its table is generated from validated captures. A dictionary model separately illustrates applying received events, not a production cache. The key-incarnation supplement runs 40 prescribed single-key condition/history pairs in each of three fresh single-member etcd 3.6.16 clusters; 120 native observations, with exact normalized replay and a table generated from verified captures. The CCFS supplement enumerates all 16 subsets of four constructed effects and checks prerequisite and durability predicates against an independent prefix-length oracle; it does not execute CCFS. The original read-modify-write examples use one key; the sequential-consistency illustration uses two registers, and the write-skew example uses two Boolean metadata flags. All assume successful replies and no failures unless stated. They do not certify a deployed database, real replica availability, recovery procedure or disaster-survival guarantee. The native supplement uses one host/build and constructed data, not independent replication, a field rate or PostgreSQL 18 execution. Retry results after a Repeatable Read error require rollback and a new transaction. Arbitrary triggers, RLS and external object-store durability are not tested. The native SQLite schedules use one trigger-free row and no crashes, device faults, timing measurement or retries; rejection is not completion of an increment. The maintenance supplement tests post-writer-completion visibility only, not uncommitted frozen reads or a general multi-table locking protocol. The Read Uncommitted example uses one row, DELETE journaling and cache_spill OFF in one process; it does not test PostgreSQL execution, schema-lock contention or arbitrary concurrent scans. Watch observations use one host/build and synthetic keys; repetition is not a field-frequency estimate, performance benchmark or a new etcd defect. A progress/reference comparison is not a complete cache implementation. Key-incarnation observations cover ordinary Put/Delete in one uninterrupted cluster history; they do not test restart, snapshot restore, leases, concurrency performance or external-write fencing. The tests check these small examples, not arbitrary concurrent histories. The etcd watch-progress subsection separately uses a controlled peer-communication partition; other examples retain their stated methods. No throughput measurement or system certification was performed.

Corpus: linearizability, serializability, read-your-writes, monotonic reads, session guarantees, monotonic writes, writes-follow-reads, compare-and-swap, snapshot isolation, and write skew.

Primary sources

  1. Maurice P. Herlihy and Jeannette M. Wing. Linearizability: A Correctness Condition for Concurrent Objects. ACM TOPLAS 12(3), 1990, sections 2.2 and 3.3.
  2. Douglas B. Terry et al. Session Guarantees for Weakly Consistent Replicated Data. PDIS 1994, sections 3.1-3.4, pp. 142-144.
  3. etcd v3.6 documentation: Key-Value pair metadata and Transaction.
  4. etcd v3.6 API guarantees: durability, strict serializability and operation completion.
  5. PostgreSQL 18 documentation, section 13.2: Transaction Isolation.
  6. Hal Berenson et al. A Critique of ANSI SQL Isolation Levels. ACM SIGMOD 1995; MSR-TR-95-51, sections 2.2-2.3, 3 (H1) and 4.1-4.2.
  7. Dan R. K. Ports and Kevin Grittner. Serializable Snapshot Isolation in PostgreSQL. PVLDB 5(12), 1850-1861, 2012, sections 2 and 4. arXiv:1208.4179v1.
  8. MongoDB Manual: Read Isolation, Consistency, and Recency; client sessions, causal guarantees and isolation.
  9. MongoDB Manual: Causal Consistency and Read and Write Concerns; durability and rollback distinctions.
  10. Microsoft Learn: Consistency levels in Azure Cosmos DB; session consistency and partition-bound tokens.
  11. Peter Bailis, Alan Fekete, Ali Ghodsi, Joseph M. Hellerstein and Ion Stoica. Scalable Atomic Visibility with RAMP Transactions. SIGMOD 2014, pp. 27-38, sections 3-4 and Appendix. DOI: 10.1145/2588555.2588562.
  12. Peter Bailis, Aaron Davidson, Alan Fekete, Ali Ghodsi, Joseph M. Hellerstein and Ion Stoica. Highly Available Transactions: Virtues and Limitations. PVLDB 7(3), pp. 181-192, 2013; presented at VLDB 2014. Section 5.1.2.
  13. Vijay Chidambaram, Thanumalayan Sankaranarayana Pillai, Andrea C. Arpaci-Dusseau and Remzi H. Arpaci-Dusseau. Optimistic Crash Consistency. SOSP 2013, sections 4-6. DOI: 10.1145/2517349.2522726.
  14. Edmund B. Nightingale, Kaushik Veeraraghavan, Peter M. Chen and Jason Flinn. Rethink the Sync. OSDI 2006, pp. 1-14; sections 2.5 (Limitations) and 3.5 (Shared memory), with Design Overview and Methodology.
  15. NVM Express 1.3d (2019), sections 4.10 and 6.2.1; Identify Controller ACWU. Copyright 2007-2019 NVM Express, Inc.
  16. SPDK NVMe Driver: asynchronous I/O, fused operations and queue-pair ownership
  17. Mike Burrows. The Chubby lock service for loosely-coupled distributed systems. OSDI 2006, pp. 335-350, sections 2.1-2.5.
  18. Edmund B. Nightingale, Kaushik Veeraraghavan, Peter M. Chen and Jason Flinn. Rethink the Sync. ACM TOCS 26(3), Article 6, 2008, sections 2.2, 3.2-3.3, 3.6 and 4.5, Figure 6B. DOI: 10.1145/1394441.1394442.
  19. Hagit Attiya, Amotz Bar-Noy and Danny Dolev. Sharing Memory Robustly in Message-Passing Systems. JACM 42(1), 124-142, 1995; sections 2-4 and Figure 2. DOI: 10.1145/200836.200869.
  20. Apache Cassandra 5.0.0: Read repair; monotonic quorum reads and partition write atomicity.
  21. Ellis Michael et al. Recovering Shared Objects Without Stable Storage. DISC 2017, sections 3-4. DOI: 10.4230/LIPIcs.DISC.2017.36.
  22. sg3_utils: sg_compare_and_write manual, DESCRIPTION and OPTIONS; source commit 8799caa3741b2b1640970747aeb84f17dbbaad86.
  23. Seagate SCSI Commands Reference Manual, 100293068 Rev. L, November 2020, section 5.4.5, Table 520 and page 534.
  24. sg3_utils: sg_compare_and_write.c, scsi_compare_and_write MISCOMPARE branch; commit 8799caa3741b2b1640970747aeb84f17dbbaad86.
  25. Thanumalayan Sankaranarayana Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014, pp. 433-448, sections 2.1-2.2 and 3.
  26. Leslie Lamport. How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs. IEEE TC 28(9), 1979, pp. 690-691.
  27. etcd v3.6 API reference: RangeRequest revision and serializable fields; TxnRequest.
  28. PostgreSQL 18: Serialization Failure Handling, section 13.5.
  29. AWS Prescriptive Guidance: Transactional outbox pattern, dual writes and duplicate messages.
  30. PostgreSQL 18: Lock Management, predicate-lock capacity and granularity promotion.
  31. Lamport. On Interprocess Communication, Part II, sections 4-5. SRC report, 1985; journal publication, 1986.
  32. Ranadeep Biswas and Constantin Enea. On the Complexity of Checking Transactional Consistency. arXiv:1908.04509v1 (2019), section 2, Table 1 and Figure 2.
  33. Leslie Lamport. Time, Clocks, and the Ordering of Events in a Distributed System. Communications of the ACM 21(7), 558-565, July 1978; pp. 559-562.
  34. Wyatt Lloyd, Michael J. Freedman, Michael Kaminsky and David G. Andersen. Don't Settle for Eventual: Scalable Causal Consistency for Wide-Area Storage with COPS. SOSP 2011; sections 3, 4.4 and 5.3.
  35. Ongaro and Ousterhout: In Search of an Understandable Consensus Algorithm, extended version (20 May 2014), sections 5.4, 6 and 8.
  36. etcd v3.6.0: Range, linearizableReadLoop and requestCurrentIndex
  37. Lee et al.: Implementing Linearizability at Large Scale and Low Latency. SOSP 2015, Figure 2, sections 3-4.3; DOI 10.1145/2815400.2815416.
  38. etcd v3.6.0: MVCC storeTxnWrite.End and put, revision advancement and per-key subrevisions
  39. raft v3.6.0: JointConfig.VoteResult requires both majorities and distinguishes pending from lost
  40. raft v3.6.0: raftLog.maybeCommit and matchTerm, advancement and current-term guard
  41. raft v3.6.0: MajorityConfig.CommittedIndex, majority-supported replicated prefix
  42. raft v3.6.0: raft.maybeCommit passes the leader term and tracker candidate to the log
  43. Fischer, Lynch and Paterson. Impossibility of Distributed Consensus with One Faulty Process. JACM 32(2), 374-382, 1985; sections 1-3.
  44. Dwork, Lynch and Stockmeyer. Consensus in the Presence of Partial Synchrony. JACM 35(2), 288-323, 1988; sections 1.2 and 5.
  45. PostgreSQL 16: Transaction Isolation, sections 13.2.1-13.2.2; conflict visibility and transaction restart.
  46. PostgreSQL 16: Index Uniqueness Checks, section 64.5; waiting for a conflicting inserter.
  47. PostgreSQL 16: WITH Queries, section 7.8.4; shared snapshots and RETURNING.
  48. PostgreSQL 16: INSERT; RETURNING and rows locked but not updated.
  49. PostgreSQL 16: Overview of Trigger Behavior, section 39.1; statement-level conflict UPDATE triggers.
  50. SQLite Transaction: sections 2 and 2.3, implicit transactions and completed statements.
  51. SQLite UPDATE: section 2, row predicates and assignment expressions.
  52. SQLite Isolation: WAL snapshot isolation and SQLITE_BUSY_SNAPSHOT.
  53. SQLite result codes: SQLITE_BUSY_SNAPSHOT (517).
  54. MySQL 8.4: Consistent Nonlocking Reads, section 17.7.2.3.
  55. MySQL 8.4: InnoDB Transaction Isolation Levels, section 17.7.2.1.
  56. MySQL 8.4: START TRANSACTION, COMMIT, and ROLLBACK Statements, section 15.3.1.
  57. PostgreSQL 18: MVCC Caveats, section 13.6.
  58. PostgreSQL 16: MVCC Caveats, section 13.6.
  59. PostgreSQL 16: COPY, FREEZE option.
  60. PostgreSQL 16: TRUNCATE, Notes.
  61. PostgreSQL REL_16_15: CopyFrom, frozen insertion prerequisites.
  62. PostgreSQL REL_16_15: HeapTupleSatisfiesMVCC, frozen xmin.
  63. SQLite: PRAGMA read_uncommitted.
  64. SQLite: Shared-Cache Mode, sections 1.1 and 2.2.1-2.3.
  65. Kung and Robinson. On Optimistic Methods for Concurrency Control. ACM TODS 6(2), 213-226 (1981), sections 2-5. DOI: 10.1145/319566.319567.
  66. Larson et al. High-Performance Concurrency Control Mechanisms for Main-Memory Databases. PVLDB 5(4), 298-309 (2011), sections 3 and 6.
  67. Microsoft: Transactions with memory-optimized tables, validation, commit processing, conflict detection and retry logic.
  68. Tu et al. Speedy Transactions in Multicore In-Memory Databases. SOSP 2013, section 4.6. DOI: 10.1145/2517349.2522713.
  69. Lomet. Key Range Locking Strategies for Improved Concurrency. VLDB 1993, pp. 655-664, sections 3.2 and 4.1.
  70. Bernstein, Hadzilacos and Goodman. Concurrency Control and Recovery in Database Systems (1987), chapter 3, sections 3.2-3.5 and 3.7.
  71. Silberschatz, Korth and Sudarshan. Database System Concepts, fifth edition: chapter 16 author slides, 16.8-16.11.
  72. PostgreSQL 18: PREPARE TRANSACTION, purpose and prepared-state lock retention.
  73. Bernstein and Goodman. Multiversion Concurrency Control: Theory and Algorithms. ACM TODS 8(4), 465-483 (1983), sections 1 and 4-6.
  74. PostgreSQL 18: Routine Vacuuming, section 24.1.2, Recovering Disk Space.
  75. PostgreSQL 18: Asynchronous Commit, section 28.4.
  76. PostgreSQL 18: Explicit Locking, sections 13.3.1-13.3.2.
  77. Gray and Lamport. Consensus on Transaction Commit. ACM TODS 31(1), 133-160 (2006), sections 2-3; corrected author copy.
  78. PostgreSQL 18: Two-Phase Transactions, prepared state in shared memory, WAL and pg_twophase.
  79. Mohan, Lindsay and Obermarck. Transaction Management in R*. TODS 11(4), 1986, sections 3-5 and footnote 8.
  80. Attaluri and Salem. The Presumed-Either Two-Phase Commit Protocol. IEEE TKDE 14(5), 2002, pp. 1190-1191, sections 2-3.
  81. Thomson, Diamond, Weng, Ren, Shao and Abadi. Calvin: Fast Distributed Transactions for Partitioned Database Systems. SIGMOD 2012, sections 1.3, 2, 3.1-3.2 and 5.
  82. Thomson, Diamond, Weng, Ren, Shao and Abadi. Fast Distributed Transactions and Strongly Consistent Replication for OLTP Database Systems. ACM TODS 39(2), Article 11 (2014), sections 3.2.1 and 7.4; DOI 10.1145/2556685.
  83. Ren, Thomson and Abadi. An Evaluation of the Advantages and Disadvantages of Deterministic Database Systems. PVLDB 7(10), 821-832 (2014), sections 3.1, 3.5-3.7.
  84. Ren, Li and Abadi. SLOG: Serializable, Low-latency, Geo-replicated Transactions. PVLDB 12(11), 1747-1761 (2019), sections 3-4.
  85. SLOG author repository: README, experimental rewrite and production-use warning; revision 2d71bd74f7db.
  86. Leslie Lamport. Paxos Made Simple (2001), sections 2.1, 2.5 and 3.
  87. Fred B. Schneider. Implementing Fault-Tolerant Services Using the State Machine Approach: A Tutorial. ACM Computing Surveys 22(4), 299-319 (1990), sections 1, 3 and 7.2; DOI 10.1145/98163.98167.
  88. Aguilera, Chen and Toueg. Failure Detection and Consensus in the Crash-Recovery Model. DISC 1998, pp. 231-245, sections 2.1-2.4.
  89. Diego Ongaro. Consensus: Bridging Theory and Practice, author errata for Figure 3.1 (Chapter 3), repository revision 0c10ea1b53d73bf6d163bdde8e4141a1cbd8f36a.
  90. Diego Ongaro: bug in single-server membership changes (9 July 2015), proposed solution and 11 July clarification
  91. raft v3.6.0: configuration activation in the application contract, Implementation notes
  92. raft v3.6.0: ConfChangeV2.EnterJoint selects a joint transition
  93. Li et al. Secure Untrusted Data Repository (SUNDR). OSDI 2004; sections 2 and 3.1-3.2.
  94. Mahajan et al. Depot: Cloud storage with minimal trust. OSDI 2010; section 1.
  95. RFC 9162: Certificate Transparency Version 2.0. Experimental, 2021; sections 8.3 and 11.3.
  96. Cachin, Keidar and Shraer. Fork Sequential Consistency is Blocking. arXiv:0805.2068v1, 2008; section 2 and Theorem 1.
  97. Alpern and Schneider. Defining Liveness. Information Processing Letters 21(4), 181-185 (1985), sections 1-3.
  98. Schneider and Lamport. Another Position Paper on Fairness. Software Engineering Notes 13(3), 1988, pp. 1-2.
  99. Chandra, Griesemer and Redstone. Paxos Made Live - An Engineering Perspective (2006 Invited Talk). PODC 2007, pp. 398-407, section 5.1, footnotes 2-3 and section 6.2; DOI 10.1145/1281100.1281103.
  100. Sela, Herlihy and Petrank. Linearizability: A Typo. arXiv:2105.06737v2 (2021), sections 3.1 and 4.
  101. etcd v3.6: Interacting with etcd, Watch progress and local revision versus quorum.
  102. etcd v3.6.16: watchableStore.progress, synchronized watcher and future-cursor conditions.
  103. etcd 3.6.16: applyCompare and compareKV, commit 0b065e61c679ea81f6862bb24c9815f7fc673966.
  104. etcd v3.6 recovery: revision difference and new logical cluster after restoring a snapshot.
  105. Pillai et al. Application Crash Consistency and Performance with CCFS. FAST 2017, pp. 181-196.
  106. Pillai et al. CCFS, extended article. ACM TOS 13(3), 2017, article 19; sections 3.2, 3.5, 4.1 and 5. DOI: 10.1145/3119897.

Persistence extension reviewed 20 October 2026. Constructed illustrations and explicitly labeled native observations; no source figures reproduced.

Published by Hesela team · Published · Updated

Report a correction · Editorial standards · Reuse guidance

Change history

: first published.

: latest recorded update. A detailed change note is not available for this revision.

New-publication RSS · Correction RSS

Cite this page
Hesela team. Storage consistency: ordering is not a transaction or a durability promise. Hesela. 2026-12-01. https://hesela.com/analyses/storage-consistency-ordering/