Documentation ¶
Overview ¶
Package obj atomically installs objects from modified buffers in their corresponding disk blocks and writes the blocks to the write-ahead log. The upper layers are responsible for locking and lock ordering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log mediates access to object loading and installation.
There is only one Log object.
func MkLog ¶ added in v0.2.1
MkLog recovers the object logging system (or initializes from an all-zero disk).
func (*Log) CommitWait ¶
Commit dirty bufs of the transaction into the log, and perhaps wait.
Click to show internal directories.
Click to hide internal directories.