COMP231
3
Commit/Abort
Two Additional Operations of a
transaction:
1. Commit – all operations in that transaction
should be done physically on disk.
2. Abort – the transaction cannot be complete
due to some errors (e.g. system crash)
E.g. T
1
: R(X), W(X), Commit
E.g. T
2
: R(X), W(X), Abort
评论0
最新资源