MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / rollback

Method rollback

src/java/simpledb/LogFile.java:464–472  ·  view source on GitHub ↗

Rollback the specified transaction, setting the state of any of pages it updated to their pre-updated state. To preserve transaction semantics, this should not be called on transactions that have already committed (though this may not be enforced by this method.)

(TransactionId tid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

logAbortMethod · 0.95

Calls 2

getBufferPoolMethod · 0.95
preAppendMethod · 0.95

Tested by

no test coverage detected