From 222a31dd2b6c389ede2603951c7472cf2011f8db Mon Sep 17 00:00:00 2001
From: keleher <keleher@cs.umd.edu>
Date: Sat, 23 Nov 2019 19:57:35 -0500
Subject: [PATCH] auto

---
 transactions.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/transactions.py b/transactions.py
index 688159d..1376c35 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)
-- 
GitLab