MCPcopy Create free account
hub / github.com/awelm/simpledb / releasePage

Method releasePage

src/simpledb/BufferPool.java:95–97  ·  view source on GitHub ↗

Releases the lock on a page. Calling this is very risky, and may result in wrong behavior. Think hard about who needs to call this and why, and why they can run the risk of calling it. @param tid the ID of the transaction requesting the unlock @param pid the ID of the page to unlock

(TransactionId tid, PageId pid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

addTupleMethod · 0.95
acquireThenReleaseMethod · 0.80

Calls 1

unlockPageMethod · 0.80

Tested by 1

acquireThenReleaseMethod · 0.64