What happens if we crash while writing a log file which has out of order transactions? Won't this lead to an inconsistent state? because We could output the commit message for a later transaction before a newer transaction. (from Matt)
Potential fix:
set a delimiter between these writes and complete the commit at that point.
What happens if we crash while writing a log file which has out of order transactions? Won't this lead to an inconsistent state? because We could output the commit message for a later transaction before a newer transaction. (from Matt)
Potential fix: