diff --git a/transactions.py b/transactions.py index 688159dec87e2940af2eef2523bd47a152f6c410..1376c352f46e7fba35b391ec632ba65d1599cb4a 100644 --- a/transactions.py +++ b/transactions.py @@ -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)