Anomalies
Anomalies Are Interleaving-specific
The same kind of work can classify differently when the trace order changes.
Anomalies are interleaving-specific
Book Five made interleavings explicit. Here the same idea carries values: changing the order can change what reads observe and what anomaly is classified. Note: each side is compiled independently.
Interleaved side
The interleaved side has 2 recomputed reads. Note: the label is caused by trace order.
these traces model specific anomalies under a read-latest-write execution model; isolation levels (RC/RR/SI/serializable) and MVCC mechanism are modelled later - no product claims.
Serial side
The serial side has 2 recomputed reads. Note: the same classifier produces the rendered contrast.
these traces model specific anomalies under a read-latest-write execution model; isolation levels (RC/RR/SI/serializable) and MVCC mechanism are modelled later - no product claims.
Side by side
Both traces are rendered together so the interleaving difference is visible. Note: serializability prevents these interleaving-specific value anomalies.
these traces model specific anomalies under a read-latest-write execution model; isolation levels (RC/RR/SI/serializable) and MVCC mechanism are modelled later - no product claims.
Summary
An anomaly is not just a table fact; it is a trace fact. Note: isolation levels, serializable behavior, and MVCC mechanisms are deferred to later books.