Skip to content
Snippets Groups Projects
Commit 222a31dd authored by keleher's avatar keleher
Browse files

auto

parent 915c4cf9
No related branches found
No related tags found
No related merge requests found
......@@ -169,10 +169,8 @@ class LogManager:
# - fix by:
# - reverting transactions that did not finish by calling `revertChanges` on them
# - redo transactions that did finish by calling `redoChanges`
# After the restart recovery is done (i.e., 'revertChanges' called on aborted or not finished transactions,
# 'redoChanges' called on
# undone, and all the pages have been written to disk), we can now write out a CHECKPOINT record to signify
# - telling the buffer manager to write all changes to disk
# After the restart recovery is done,we can now write out a CHECKPOINT record to signify
# that the file contents are in a consistent state
lr = LogRecord([-1, LogRecord.CHECKPOINT, list()])
LogManager.writeLogRecord(lr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment