(b) If the system crash occurs after the model was deleted from Product but
before deletion from PC, an atomicity problem occurs. Databases keep a log of
6.6.3
(a)
T is the READ ONLY transaction from 6.6.1 (a). Another READ ONLY transaction can
run concurrently without any difference (i.e. As if all transactions ran in
SERIALIZABLE isolation).
If deleteModel from 6.6.1 (b) was running concurrently with T, T may not return
(b)
T is the deleteModel from 6.6.1 (b). If running insertPC concurrently with T,
(c)
T is updatePCPrice from 6.6.1 (c). When running concurrently with another
updatePCPrice for same model, T could read the updated price (dirty data) and
(d)
T is insertPC from 6.6.1 (d).