Skip to main content

Module undo_buffer

Module undo_buffer 

Source
Expand description

Undo Buffer — records old data before writes for transaction rollback.

Each write transaction accumulates UndoRecords in its UndoBuffer. On rollback, the records are applied in reverse order to restore the pre-write state. On commit, the buffer is cleared.

Ported from C++ src/storage/undo_buffer.cpp.

Structs§

UndoBuffer
Accumulates undo records for a single write transaction.